Пример #1
0
 protected virtual void OnDestroy()
 {
     if (mRevealer != null)
     {
         FOWSystem.DeleteRevealer(mRevealer);
         mRevealer = null;
     }
 }
Пример #2
0
 public void DoDestroy()
 {
     if (this.onlygrass)
     {
         return;
     }
     FOWSystem.DeleteRevealer(this.mRevealer);
     this.mRevealer = null;
 }
Пример #3
0
 void OnDestroy()
 {
     FOWSystem.DeleteRevealer(mRevealer);
     mRevealer = null;
 }