/// <summary>GUIスタイル用テクスチャ.</summary> GUIContent GetGUIContent(Mode mode) { switch (mode) { case Mode.Add: return(contentAdd); case Mode.Update: return(contentUpdate); case Mode.Include: return(contentInclude); case Mode.Ignore: return(contentIgnore); case Mode.Delete: return(contentDelete); } return(GUIContent.none); }
/// <summary>GUIスタイル用テクスチャ.</summary> Texture2D GetTextureGUIStyle(Mode mode) { switch (mode) { case Mode.Add: return(textureAdd); case Mode.Update: return(textureUpdate); case Mode.Include: return(textureInclude); case Mode.Ignore: return(textureIgnore); case Mode.Delete: return(textureDelete); default: return(null); } }