Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     GameTime.PlayerTimeScale = 1f;
     Init();
     anim.SetBool("dead", false);
     instance = this;
 }
Ejemplo n.º 2
0
 private void OnDisable()
 {
     instance = null;
 }
Ejemplo n.º 3
0
 private void OnEnable()
 {
     instance = this;
 }