private void OnDisable()
 {
     EditorPrefsExt.SetEnum(_sourceTypeKey, _sourceType);
     EditorPrefsExt.SetAsset(_customMeshKey, _customMesh);
     EditorPrefs.SetInt(_subMeshIndexKey, _subMeshIndex);
     EditorPrefs.SetInt(_uvIndexKey, _uvIndex);
 }
Пример #2
0
 private void OnDisable()
 {
     EditorPrefsExt.SetEnum(_sourceTypeKey, _sourceType);
     EditorPrefs.SetInt(_materialIdKey, _materialId);
     EditorPrefs.SetString(_propertyNameKey, _propertyName);
     EditorPrefsExt.SetAsset(_customTextureKey, _customTexture);
     EditorPrefs.SetInt(_filterModeKey, _filterMode);
     EditorPrefs.SetBool(_repeatingKey, _repeating);
     EditorPrefsExt.SetColor(_colorKey, _color);
     EditorPrefsExt.SetEnum(_channelFlagKey, _channelFlag);
 }