public override void Dispose()
        {
            if (this.IsDisposed)
            {
                return;
            }

            base.Dispose();
            this.Body.Dispose();
            this.B2S_CollisionInstance = null;
            this.B2S_ColliderDataStructureBase.Clear();
        }
Exemplo n.º 2
0
        public override void Dispose()
        {
            if (this.IsDisposed)
            {
                return;
            }

            base.Dispose();
            Game.Scene.GetComponent <B2S_WorldComponent>().GetWorld().DestroyBody(this.Body);
            this.B2S_CollisionInstance = null;
            this.B2S_ColliderDataStructureBase.Clear();
        }