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());
        }
Exemple #2
0
 void OnPlayerDead(PlayerDeadMsg msg)
 {
     this.Dispose();
 }