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