Example #1
0
    public override void OnStopServer()
    {
        health.ServerOnDie += ServerHandleOnDeath;

        ServerOnBaseDespawn?.Invoke(this);
    }
Example #2
0
    public override void OnStopServer()
    {
        ServerOnBaseDespawn?.Invoke(this);

        health.ServerOnDie -= ServerHandleDie;
    }
Example #3
0
 public override void OnStopServer()
 {
     //On unitbase spawn invoke unsubscribe to health & invoke basedespawned event.
     ServerOnBaseDespawn?.Invoke(this);
     health.ServerOnDie -= ServerHandleDie;
 }