コード例 #1
0
        public override void Initialized()
        {
            if (Entity != null)
            {
                GameObjectInfo Info = new GameObjectInfo()
                {
                    ID             = Owner.ID,
                    GameObjectType = Owner.GetType()
                };
                Entity.Tag = Info;

                PhysicsManager.AddEntity(Entity);
            }
            base.Initialized();
        }