Exemple #1
0
        protected void FieldAtlasSprite(string guid, string label, MadAtlasBrowser.Changed guidChangedCallback)
        {
            var atlas = energyBar3DBase.atlas;

            MadAtlasUtil.AtlasField(guid, atlas, label, guidChangedCallback, this);
        }
Exemple #2
0
//    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);
        }