public IFrameworkView CreateView() { var appView = UrhoAppView.Create <T>(opts); UrhoAppViewCreated?.Invoke(appView); return(appView); }
static void OnViewCreated(UrhoAppView view) { view.WindowIsSet += View_WindowIsSet; }
public IFrameworkView CreateView() => UrhoAppView.Create <HelloWorldApplication>("Data");
public IFrameworkView CreateView() { return(UrhoAppView.Create <ShowHideGazeSample>(null)); }
static void OnViewCreated(UrhoAppView view) { }
public IFrameworkView CreateView() { return(UrhoAppView.Create <PhysicsSample>("BucketData")); // null means only CoreData }
static void AppViewCreated(UrhoAppView view) { view.WindowIsSet += View_WindowIsSet; view.AppStarted += View_AppStarted; }
public IFrameworkView CreateView() { return(UrhoAppView.Create <MyApplication>(null)); }
public IFrameworkView CreateView() { return(UrhoAppView.Create <PositionTextSample>(null)); // null means only CoreData }
public IFrameworkView CreateView() => UrhoAppView.Create <MyGame>(new ApplicationOptions("Data"));