예제 #1
0
 public void Load(IntPtr engineHandle)
 {
     Task.Run(() =>
     {
         DefaultScene.Parent = engineHandle;
         using (var context = new Context())
         {
             using (var application = new DefaultScene(context))
             {
                 application.Run();
             }
         }
     });
 }
예제 #2
0
 public DefaultScene(Context context) : base(context)
 {
     Instance = this;
 }