public static bool SetValue <T>(this UnityEditor.Editor editor, string propertieName, T value) { SerializedProperty property = editor.GetPropertie(propertieName); return(property.SetValue(value)); }