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); }
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); }
private void OnEnable() { m_target = target as MeshExportValidator; }