Skip to content

An attribute for specifying a variable as name property for a list in the Unity inspector

Notifications You must be signed in to change notification settings

ernstluring/ListElementTitleAttribute-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ListElementTitleAttribute-Unity

A attribute for specifying a variable as name property for a list in the Unity inspector

[System.Serializable]
public class CharacterStats
{
    public BattleCharacter character;
    public float maxHP;
}

[SerializeField]
[ListElementTitle("character")]
private List<CharacterStats> _characterStats;

listElementTitleAttr-Inspector

About

An attribute for specifying a variable as name property for a list in the Unity inspector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages