Example #1
0
        void HandleChange(ObjectDestructedChangeData change)
        {
            var ob = m_world.FindObject <BaseObject>(change.ObjectID);

            if (ob == null)
            {
                return;
            }

            Debug.Assert(ob.IsInitialized);

            ob.Destruct();
        }
Example #2
0
        void HandleChange(ObjectDestructedChangeData change)
        {
            var ob = m_world.FindObject<BaseObject>(change.ObjectID);

            if (ob == null)
                return;

            Debug.Assert(ob.IsInitialized);

            ob.Destruct();
        }