RTSEngine.Data.Team.RTSUnit.Destroy C# (CSharp) Method

Destroy() public method

public Destroy ( ) : void
return void
        public void Destroy()
        {
            Health = 0;
            if(OnDestruction != null)
                OnDestruction(this);
        }