static void AddDefaultPresetsToCurrentLibrary(object userData) { if (s_Owner.addDefaultPresets != null) { s_Owner.addDefaultPresets(s_Owner.GetCurrentLib()); } s_Owner.SaveCurrentLib(); }
private void Rename(object userData) { string name = s_Caller.GetCurrentLib().GetName(s_PresetIndex); s_Caller.BeginRenaming(name, s_PresetIndex, 0.0f); }