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