Inheritance: System.Entity
Exemplo n.º 1
0
 public PlayerManager()
 {
     instance = this;
 }
Exemplo n.º 2
0
 /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnDestroy()"/>.</summary>
 protected override void OnDestroy()
 {
     base.OnDestroy();
     //if( !IsEditorExcludedFromWorld() )
     instance = null;
 }
Exemplo n.º 3
0
        /// <summary>Overridden from <see cref="Engine.EntitySystem.Entity.OnPostCreate(Boolean)"/>.</summary>
        protected override void OnPostCreate( bool loaded )
        {
            instance = this;
            base.OnPostCreate( loaded );

            AddTimer();
        }