RSDK_EDITABLE_VAR¶
Description¶
Sets a variable from the given object's entity struct to be editable in an editor.
Parameters¶
object
-
The name of the object the variable is in.
type
-
The variable type of the variable.
var
-
The name of the variable to add.
Return Value¶
None.
Syntax¶
Example¶
Note
This is a macro, which is designed to make programming in RSDK easier. The underlying function is:
The underlying function should NEVER be called as it's less safe than the macro. This note is here for anyone wishing to learn about the internals or hoping to develop a wrapper for another language that doesn't support macros.