コード例 #1
0
        protected override void Initialize()
        {
            m_settings             = ScriptableObject.CreateInstance <GltfExportSettings>();
            m_settings.InverseAxis = UniGLTFPreference.GltfIOAxis;
            m_settingsInspector    = Editor.CreateEditor(m_settings);

            m_meshes          = ScriptableObject.CreateInstance <MeshExportValidator>();
            m_meshesInspector = Editor.CreateEditor(m_meshes);
        }
コード例 #2
0
ファイル: GltfExportWindow.cs プロジェクト: PoChang007/UniVRM
        protected override void Initialize()
        {
            Settings.InverseAxis = UniGLTFPreference.GltfIOAxis;
            var so = new SerializedObject(this);

            m_editor = new SerializedPropertyEditor(so, so.FindProperty(nameof(Settings)));

            m_meshes          = ScriptableObject.CreateInstance <MeshExportValidator>();
            m_meshesInspector = Editor.CreateEditor(m_meshes);
        }
コード例 #3
0
 private void OnEnable()
 {
     m_target = target as MeshExportValidator;
 }