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

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