示例#1
0
 private void Start()
 {
     hydration         = GetComponent <Player_Hydration>();
     cold              = GetComponent <Player_Cold>();
     gameManagerMaster = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameManager_Master>();
 }
 private void Start()
 {
     temp            = GameObject.FindGameObjectWithTag("DesertManager").GetComponent <Desert_TemperatureCycle>();
     hydrationScript = GetComponent <Player_Hydration>();
     hydrationScript.computeHydration += AffectDehydrationRate;
 }
示例#3
0
 private void Start()
 {
     playerHydration = GetComponent <Player_Hydration>();
 }