コード例 #1
0
ファイル: Dad.cs プロジェクト: dany1532/Social_Clues
 //public GameObject toy;
 // Use this for initialization
 void Start()
 {
     // Get the associated NPC controller
     npc = this.gameObject.GetComponent<NPC>();
     GameObject bedroomManagerGo = GameObject.Find ("BedroomManager").gameObject;
     manager = bedroomManagerGo.GetComponent<BedroomLevelManager>();
     //toy.SetActive(false);
 }
コード例 #2
0
ファイル: BedroomNPC.cs プロジェクト: dany1532/Social_Clues
 void Start()
 {
     manager = GameObject.Find("BedroomManager").GetComponent<BedroomLevelManager>();
     setFriendAnimation(NPCAnimations.AnimationIndex.IDLE);
 }