Пример #1
0
        public SceneLayer AddLayer()
        {
            var layer = new SceneLayer(this);

            _layers.Add(layer);
            return(layer);
        }
Пример #2
0
 public Scene()
 {
     _layers     = new List <SceneLayer>();
     Time        = new Time();
     Input       = new Input();
     baseLayer   = AddLayer();
     Camera.main = baseLayer.cam;
 }