CREATE YOUR WORLD
Scripting
Tag & Layer
7min
You can use the Tag and Layer functions from Unity for developing a World.
You can use the Tag function the same way you used it in Unity.
❗️ Caution You can use up to 64 Tags.
Below is an example code for setting a tag for a ZEPETO character.
Below is an example code for using the Tag function.
📘 Unity Tag information https://docs.unity3d.com/Manual/Tags.html
You can use the Layer function the same way you used it in Unity.
❗️ Caution You can use Layers number 20 to 27.
The following is an example code to set a layer for the ZEPETO character.
The following is an example code for using the Layer function.
📘 Unity Layer information https://docs.unity3d.com/Manual/Layers.html