Ejemplo n.º 1
0
        /// <summary><see href="https://docs.unity3d.com/ScriptReference/Editor.OnInspectorGUI.html">Editor Documentation</see></summary>
        public override void OnInspectorGUI()
        {
            if (serializedObject == null || serializedObject.targetObject == null)
            {
                return;
            }

            serializedObject.Update();

            m_LoaderUi.OnGUI(BuildTarget);

            serializedObject.ApplyModifiedProperties();
        }
Ejemplo n.º 2
0
        /// <summary><see href="https://docs.unity3d.com/ScriptReference/Editor.OnInspectorGUI.html">Editor Documentation</see></summary>
        public override void OnInspectorGUI()
        {
            if (serializedObject == null || serializedObject.targetObject == null)
            {
                return;
            }

            serializedObject.Update();

            m_LoaderInfoManager.SerializedObjectData = serializedObject;

            if (m_LoaderInfoManager.ShouldReload)
            {
                m_LoaderInfoManager.ReloadData();
            }

            m_LoadOrderUI.OnGUI();

            serializedObject.ApplyModifiedProperties();
        }