Example #1
0
 /**
  * Use this for initialization
  */
 void Start()
 {
     // get references
     pm             = FindObjectOfType(typeof(poopmeter)) as poopmeter;
     WS             = FindObjectOfType(typeof(LI_WaterScript)) as LI_WaterScript;
     ligm           = FindObjectOfType(typeof(LargeIntestGameManager)) as LargeIntestGameManager;
     LIbps          = FindObjectOfType(typeof(BadgePopupSystem)) as BadgePopupSystem;
     gameOverStatus = 0;
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     pm             = FindObjectOfType(typeof(poopmeter)) as poopmeter;
     WS             = FindObjectOfType(typeof(LI_WaterScript)) as LI_WaterScript;
     WaterValue     = 100;
     bacTouched     = 0;
     bacteriaTimer  = 0;
     timer          = 0;
     Time.timeScale = 1;
     Debug.Log("TIme scale: " + Time.timeScale);
     bacteriaCount = 0;
     PlayerPrefs.SetInt("LargeIntestineBacteriaTouched", bacteriaCount);
 }