Exemplo n.º 1
0
        public IFrameworkView CreateView()
        {
            var appView = UrhoAppView.Create <T>(opts);

            UrhoAppViewCreated?.Invoke(appView);
            return(appView);
        }
Exemplo n.º 2
0
 static void OnViewCreated(UrhoAppView view)
 {
     view.WindowIsSet += View_WindowIsSet;
 }
Exemplo n.º 3
0
 public IFrameworkView CreateView() => UrhoAppView.Create <HelloWorldApplication>("Data");
Exemplo n.º 4
0
 public IFrameworkView CreateView()
 {
     return(UrhoAppView.Create <ShowHideGazeSample>(null));
 }
Exemplo n.º 5
0
 static void OnViewCreated(UrhoAppView view)
 {
 }
Exemplo n.º 6
0
 public IFrameworkView CreateView()
 {
     return(UrhoAppView.Create <PhysicsSample>("BucketData"));           // null means only CoreData
 }
Exemplo n.º 7
0
 static void AppViewCreated(UrhoAppView view)
 {
     view.WindowIsSet += View_WindowIsSet;
     view.AppStarted  += View_AppStarted;
 }
Exemplo n.º 8
0
 public IFrameworkView CreateView()
 {
     return(UrhoAppView.Create <MyApplication>(null));
 }
Exemplo n.º 9
0
 public IFrameworkView CreateView()
 {
     return(UrhoAppView.Create <PositionTextSample>(null));           // null means only CoreData
 }
Exemplo n.º 10
0
 public IFrameworkView CreateView() => UrhoAppView.Create <MyGame>(new ApplicationOptions("Data"));