예제 #1
0
        public override void PostWorldInitialize(bool editor = false)
        {
            if (editor)
            {
                return;
            }

            if (IsServer)
            {
                Character chara = Scripts.CreateInstance("Scripts.Entities.Skeleton") as Character;
                chara.OriginX = OriginX;
                chara.OriginY = OriginY;

                Map.AddEntity(chara);
            }

            Remove();
        }