Skip to content

COP_auto_setup_object_template

Kamran Wali edited this page Dec 2, 2024 · 3 revisions

Inherits: Node

Node template script for creating new scripts containing all the auto setup object's methods and properties.

Description

COP_auto_setup_object_template is Node template script. You can use this template script to create new scripts/objects that will act as auto setup objects. You can also add these methods and properties to your existing scripts to make your script into an auto setup object. Auto setup objects are used by the Automation logic to make setups automatically during the editor mode.

Tutorial

Methods

Return Type Name
void auto_setup()
bool _is_auto_setup_object()

Method Descriptions

void auto_setup ()

This method handles all the setup that needs to be done during automation setup process. Note: This method is ONLY called by the Automation logic.


bool _is_auto_setup_object ()

This method checks if the object is an auto setup object, which it is, and always returns true. This is needed by the Automation logic to use duck typing to check if the object is an auto setup object.

Note: This method should NOT be overridden or changed because it is used by the Automation logic to check if the object is an auto setup object.


Clone this wiki locally