In case you don't like the syntax of calling a component, you can write your own classic C-style wrapper function using the ZLibrary component.
For example, when you want to delete a model using the RemoveModel component, you currently have to write the following expression.
Code: Select all
@RemoveModel(Model: myModel);
Code: Select all
removeModel(myModel);
Code: Select all
void removeModel(model m)
{
@RemoveModel(Model: m);
}