[ Version ( since = "4.2" ) ]
public void set_attribute (string attribute, Value value, DestroyNotify destroy)
Sets an attribute to this, which will be accessible to any node in it.
this |
a Tree object |
attribute |
attribute name |
value |
a Value, or |
destroy |
a function to be called when |