Exemple #1
0
        protected override void OnCleanUp()
        {
            FlowMgr.RemoveConduitUpdater(this.OnConduitUpdate);
            NetworkMgr.RemoveFromNetworks(this.OutputCell2, this.OutputItem2, true);

            base.OnCleanUp();
        }
        protected override void OnCleanUp()
        {
            FlowMgr.RemoveConduitUpdater(this.OnConduitUpdate);
            NetworkMgr.RemoveFromNetworks(this.OutputCell2, this.OutputItem2, true);

            //if (this.partitionerEntry.IsValid() && (GameScenePartitioner.Instance != null))
            //    GameScenePartitioner.Instance.Free(ref this.partitionerEntry);

            base.OnCleanUp();
        }
Exemple #3
0
 protected override void OnCleanUp()
 {
     FlowMgr.RemoveConduitUpdater(OnConduitUpdate);
     MassMoved = 0;
     base.OnCleanUp();
 }