Attributes - Now Available!

I’ve been using attributes while working on my combat system, and it’s more convenient than I anticipated.

it’d be cool if

  • Scripts could create private/read-only attributes
  • Arrays were supported
  • Object values were supported
  • The Properties window differentiated attributes so it’s clear that they’re not indexable.
    I originally thought we could just do Object.AttributeName = 123. The documentation is clear enough, but it might confuse some kids. Better yet, maybe just make them indexable? Idk, could be another reason to have a method that lists the indexable properties of an object.

just my 2 cents
I’ll try to shut up now

2 Likes