public SceneLayer AddLayer() { var layer = new SceneLayer(this); _layers.Add(layer); return(layer); }
public Scene() { _layers = new List <SceneLayer>(); Time = new Time(); Input = new Input(); baseLayer = AddLayer(); Camera.main = baseLayer.cam; }