Mark Cassar
Mark Cassar

Reputation: 1852

Delete property from Object through Script#

Maybe a very simple question, but how can I call delete myObject[propName]; in Script#?

Upvotes: 1

Views: 69

Answers (1)

Mark Cassar
Mark Cassar

Reputation: 1852

Found this straight afterwards! Simply by calling Script.DeleteField(o, property);

Upvotes: 1

Related Questions