Пример #1
0
        public void OnEditorGuiRender(IntPtr sceneRenderTexture)
        {
            EngineUtils.TryExecute(() =>
            {
                if (editorRenderer == null)
                {
                    editorRenderer = new EditorRenderer(sceneRenderTexture);
                }

                editorRenderer.Render();
            });
        }