示例#1
0
 public virtual void RespawnInstantly(Vector2 position)
 {
     pool.New(Core.Id).transform.position = position;
     Core.Invulnerability = true;
     StartCoroutine(playerAnimation.Invulnerability(Core.Config.InvulnerabilityDuration, spriteRenderer));
     Core.Invulnerability = false;
 }