protected void FieldAtlasSprite(string guid, string label, MadAtlasBrowser.Changed guidChangedCallback) { var atlas = energyBar3DBase.atlas; MadAtlasUtil.AtlasField(guid, atlas, label, guidChangedCallback, this); }
// protected void AtlasTexture(SerializedProperty spriteName, SerializedProperty color) { // EditorGUILayout.BeginHorizontal(); // // FieldAtlasSprite(spriteName, "Sprite"); // // EditorGUILayout.PropertyField(color, new GUIContent(""), GUILayout.MaxWidth(100)); // EditorGUILayout.EndHorizontal(); // } // protected void FieldAtlasSprite(SerializedProperty guid, string label) { var atlas = energyBar3DBase.atlas; MadAtlasUtil.AtlasField(guid, atlas, label, this); }