Example #1
0
        public IFrameworkView CreateView()
        {
            var appView = UrhoAppView.Create <T>(opts);

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