示例#1
0
 private void die()
 {
     anim.SetBool("isDead", true);
     anim.SetBool("hasFood", false);
     _displayText.displayText("Fail! Rhino died, you took too long to feed your dog :(");
     InvokeRepeating("promptToRevitalize", 7f, 7f);
 }
示例#2
0
 void Start()
 {
     _displayText.displayText("Rhino is hungry! Look at and tap on the kibbles to feed him.");
     startCreation();
 }