void Start() { MovedCat = GameObject.Find("cat3_moved"); MovedCat.SetActive(false); displayImage = GameObject.Find("displayImage"); OpenLockerSprite.SetActive(false); isOpen = false; LoadAllNumberSprites(); door = GameObject.Find("door interact").GetComponent <C_DoorInteraction>(); puzzlecontrol = GameObject.Find("puzzlecontrol").GetComponent <C_Puzzlecontrol>(); hintpaper = GameObject.Find("changeViewPoint(hint paper)"); locker = GameObject.Find("changeViewPoint(locker)"); }
void Start() { displayimage = GameObject.Find("displayImage").GetComponent <C_DisplayImage>(); door = GameObject.Find("door interact").GetComponent <C_DoorInteraction>(); puzzlecontrol = GameObject.Find("puzzlecontrol").GetComponent <C_Puzzlecontrol>(); }