예제 #1
0
 void Start()
 {
     startPosition   = transform.position;
     flippedRotation = new Vector3(180f, 0f, 0f);
     sideRotation    = new Vector3(0f, 90f, 0f);
     tileControler   = FindObjectOfType <TileControler>();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     tileControler = FindObjectOfType <TileControler>();
 }