Unity初心者の かなで がネットで調べて、実践できた知識の覚書。 基本的に自分用備忘録の為、説明不備はご了承くださいm(_ _)m 黒字:デフォルト 赤字:今回追加 青字:自己解釈(一般解釈とはかけ離れてる事に注意!) 目標:Vector3という型の変数aaaに代入する方法(aaa=0,0,0みたいなのはNG) using System.Collections; using System.Collections.Generic; using UnityEngine; public class sample : MonoBehaviour { Vector3 aaa; //aaaをVector3という型にしておく。 // Use this for initialization void Start () { } // Update is called once per frame voi