Esempio n. 1
0
 public virtual void OnLoad()
 {
     _camera = new PlayerCamera();
     if (_skybox == null)
     {
         _skybox = new Skybox();
     }
     _camera.AddComponent(new Camera());
     _sceneObjects.Add(_camera);
     _sceneObjects.Add(_skybox);
 }