void OnPlayerDead(PlayerDeadMsg msg) { Entity deadmessage = Owner.CreateEntity(); Owner.GetComponent<EZBake>().MakeSprite(deadmessage, 0.004f * new Vector2(1024, 824), "charest"); deadmessage.SetTranslation(msg.Player.GetWorldTranslation()); }
void OnPlayerDead(PlayerDeadMsg msg) { this.Dispose(); }