示例#1
0
        public void Setup()
        {
            gameObject = new Alis.Core.GameObject("Player");

            sceneDefault = new Alis.Core.Scene("Example");

            sceneWithOneGameobject = new Alis.Core.Scene("Example2", gameObject);

            sceneToAddElement = new Alis.Core.Scene("example3", new Alis.Core.GameObject("enemy"));

            sceneToDeleteGameobject = new Alis.Core.Scene("Example5", gameObject);
        }
示例#2
0
 public void Setup()
 {
     scene        = new Alis.Core.Scene("Exampe");
     scene2       = new Alis.Core.Scene("Exampe2");
     sceneManager = new Alis.Core.SceneManager(new Alis.Core.Scene[] { scene, scene2 });
 }