コード例 #1
0
 void Awake()
 {
     bndDetect = GameObject.Find("Player").GetComponent <BoundsDetector>();
     talk      = GameObject.FindWithTag("TalkButton");
     ttPrompt  = GameObject.FindWithTag("TutTerryPrompt");
     qMenu     = GameObject.FindWithTag("QuestMenu");
 }
コード例 #2
0
 void Awake()
 {
     bndDetect     = GameObject.Find("Player").GetComponent <BoundsDetector>();
     shop          = GameObject.FindWithTag("ShopButton");
     mPrompt       = GameObject.FindWithTag("MerchantPrompt");
     sMenu         = GameObject.FindWithTag("ShopMenu");
     noMoneyButton = GameObject.FindWithTag("NoMoney");
 }
コード例 #3
0
 void Awake()
 {
     bndDetect      = GameObject.Find("Player").GetComponent <BoundsDetector>();
     nothingMessage = GameObject.FindWithTag("ChestOpen");
     player         = GameObject.Find("Player");
 }
コード例 #4
0
 void Awake()
 {
     bndDetect = GameObject.Find("Player").GetComponent <BoundsDetector>();
     player    = GameObject.Find("Player").GetComponent <PlayerController>();
 }