예제 #1
0
 // Use this for initialization
 void Start()
 {
     c1 = gameObject.GetComponents <C_OneWords> ()[0];
     c2 = gameObject.GetComponents <C_OneWords> ()[1];
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     pm = gameObject.GetComponent <PuzzleManager> ();
     it = transform.parent.parent.gameObject.GetComponent <Interact> ();
     co = transform.parent.parent.gameObject.GetComponent <C_OneWords> ();
 }