Ejemplo n.º 1
0
 public override void OnEnable()
 {
     this.BerryTaken = LOD_Stats.GetBool(this, false);
     this.Sheen.SetActive(!this.BerryTaken);
     this.PickUp.SetActive(false);
     this.GetComponent <Renderer>().enabled = !this.BerryTaken;
     this.GetComponent <Collider>().enabled = !this.BerryTaken;
 }
Ejemplo n.º 2
0
 public override void OnDisable()
 {
     LOD_Stats.SetInt(this, this.Health);
 }
Ejemplo n.º 3
0
 public override void OnEnable()
 {
     this.Health = LOD_Stats.GetInt(this, 4);
 }
Ejemplo n.º 4
0
 public override void OnDisable()
 {
     LOD_Stats.SetBool(this, this.BerryTaken);
 }