protected virtual void OnDestroy() { if (mRevealer != null) { FOWSystem.DeleteRevealer(mRevealer); mRevealer = null; } }
public void DoDestroy() { if (this.onlygrass) { return; } FOWSystem.DeleteRevealer(this.mRevealer); this.mRevealer = null; }
void OnDestroy() { FOWSystem.DeleteRevealer(mRevealer); mRevealer = null; }