private static void InitEngine() { if (Instance == null) { Instance = new OnyxCLR.EditorApplicationCLR(); //Get engine window pointer NativeEngineWindowPtr = (IntPtr)Instance.GetNativeWindowHandle(); SceneEditor = new SceneEditor(ref Instance); } }
public SceneEditor(ref OnyxCLR.EditorApplicationCLR instance) { this.instance = instance; }