Created
March 22, 2018 12:02
-
-
Save tanakaedu/97b8f8dc1c97ec9f3a2fb2952b842e5a to your computer and use it in GitHub Desktop.
デジタルアーツ東京 体験入学の雛形プログラムです。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* デジタルアーツ東京 体験入学用プログラム | |
* copyright 2015-2018 YuTanaka@AmuseOne | |
*/ | |
using UnityEngine; | |
using System.Collections; | |
public class sousa : MonoBehaviour { | |
/** カメラからの距離*/ | |
public float DISTANCE = 10f; | |
// 更新処理 | |
void Update () { | |
Vector3 mpos, target; | |
// 1.マウスの座標を変数mposに読み取る | |
// 2.マウスの座標を、3D空間座標(ワールド座標)に変換して、目的地を求める | |
// 3.求めた3D座標に自分を移動させる | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment