/// <summary> /// Init the scene. /// </summary> public GameScene() { // create physical world _physics = new Core.Physics.PhysicsWorld(); // create user interface UserInterface = GeonBitMain.Instance.UiEnabled ? new UI.UserInterface() : null; // create scene root Root = new RootGameObject(this, SceneNodeType.Simple); Root.SceneNode.DisableCulling = true; }
/// <summary> /// Init the scene. /// </summary> public GameScene() { // create physical world _physics = new Core.Physics.PhysicsWorld(); // create user interface UserInterface = GeonBitMain.Instance.UiEnabled ? new UI.UserInterface() : null; // count the event Core.Utils.CountAndAlert.Count(Core.Utils.CountAndAlert.PredefAlertTypes.AddedOrCreated); // create scene root Root = new RootGameObject(this, SceneNodeType.Simple); Root.SceneNode.DisableCulling = true; }