public override void PublishGameObject(PublishMode mode, PublishPlatform platform)
 {
     if (
         (this.remove == PublishMode.Debug && mode == PublishMode.Debug) ||
         (this.remove == PublishMode.Release && mode == PublishMode.Release)
     )
         DestroyImmediate(this.gameObject);
     else
         DestroyImmediate(this);
 }
Beispiel #2
0
 public abstract void PublishGameObject(PublishMode mode, PublishPlatform platform);