Property
Check out the properties exposed by ZEPETOScript.
A property is a component setting and option that can be edited in the Inspector.
Using properties, you can manage the state and data of GameObjects or other components, and control access from outside.

ZEPETOScript is based on TypeScript as the programming language, consequently the following syntax is used for property declaration.

Properties declared this way are visible in the inspector, where you can assign values or objects to them. The values you assign will later be initialized at runtime.


To access the properties from within the ZEPETOScript use this.property Name.

When using multiple properties, declare them in an array in ZEPETOScript. Properties are shown in an array in the Inspector, where you can input data for different elements.


If you declare an Attribute in the script, you can control the Property on the Inspector.

Below is an example screen when the Attribute is applied.

For available attributes in ZEPETOScript, please refer to the following guide
📘 Please refer to the following guide. [List of Unity Functions Available at ZEPETO World]