TylerTemp / SaintsField

A Unity Inspector extension tool focusing on script fields inspector enhancement
MIT License
148 stars 9 forks source link

[Milestone] Using "$" prefix for method callback #39

Closed TylerTemp closed 4 days ago

TylerTemp commented 2 months ago

e.g. [RichLabel("$" + nameof(MyLabelCallback))]

TylerTemp commented 2 months ago

Unfortunately, most callbacks in this project also allows the string to be literal string, e.g. a label, infoBox content etc.

It'll be too complex to introduce $ like odin, then give some escape system to it. So I'll leave these with isCallback parameters.