public void SetOnionSkinMode(OnionSkinMode onionSkinMode) { _onionSkinMode = onionSkinMode; PlayerPrefs.SetInt("onionSkinMode", (int)_onionSkinMode); if (_onionSkinMode == OnionSkinMode.None) { _editor.OnionSkinString = ""; } else if (_onionSkinMode == OnionSkinMode.Previous) { _editor.OnionSkinString = "<--ONION"; } else if (_onionSkinMode == OnionSkinMode.Next) { _editor.OnionSkinString = "ONION-->"; } }
public void SetOnionSkinMode(OnionSkinMode onionSkinMode) { _onionSkinMode = onionSkinMode; PlayerPrefs.SetInt("onionSkinMode", (int)_onionSkinMode); if(_onionSkinMode == OnionSkinMode.None) _editor.OnionSkinString = ""; else if(_onionSkinMode == OnionSkinMode.Previous) _editor.OnionSkinString = "<--ONION"; else if(_onionSkinMode == OnionSkinMode.Next) _editor.OnionSkinString = "ONION-->"; }