コード例 #1
0
ファイル: PlayerThirst.cs プロジェクト: vazquezj/SurvivalGame
 void Awake()
 {
     //anim = GetComponent<Animator>();
     playerController = GetComponent <PlayerController>();
     playerThirst     = GetComponent <PlayerThirst>();
     currentThirst    = startingThirst;
 }
コード例 #2
0
 void Awake()
 {
     playerHunger = GetComponent <PlayerHunger> ();
     playerThirst = GetComponent <PlayerThirst> ();
 }