// Use this for initialization void Start() { c1 = gameObject.GetComponents <C_OneWords> ()[0]; c2 = gameObject.GetComponents <C_OneWords> ()[1]; }
// 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> (); }