public void ManagedOnDisable() { var cody = new CfgEncoder(); var at = MeshToolBase.AllTools; if (!at.IsNullOrEmpty()) { foreach (var t in at) { cody.Add(t.StdTag, t.Encode()); } meshToolsStd = cody.ToString(); } stdData = Encode().CfgData; systemLanguage = LazyLocalization._systemLanguage; #if UNITY_EDITOR if (!defaultMaterial) { defaultMaterial = AssetDatabase.GetBuiltinExtraResource <Material>("Default-Material.mat"); } #endif }
public void ManagedOnDisable() { var cody = new CfgEncoder(); var at = MeshToolBase.AllTools; if (!at.IsNullOrEmpty()) { foreach (var t in at) { cody.Add(t.StdTag, t.Encode()); } meshToolsStd = cody.ToString(); } stdData = Encode().ToString(); systemLanguage = LazyLocalization._systemLanguage; }