Exemple #1
0
 public override void OnInspectorGUI()
 {
     DrawPropertiesExcluding(serializedObject, "languages", "CSVFiles", "csvDatas");
     if (GUILayout.Button("Open Editor Window"))
     {
         LocalisationDataEditor.Open((LocalisationData)target);
     }
 }
Exemple #2
0
        public static bool OpenEditor(int instanceId, int line)
        {
            LocalisationData obj = EditorUtility.InstanceIDToObject(instanceId) as LocalisationData;

            if (obj == null)
            {
                return(false);
            }

            LocalisationDataEditor.Open(obj);
            return(true);
        }