CREATE YOUR WORLD
Chat
Customize sending and receiving chat messages
11min
You can customize the chat messages you send and receive by importing the ZEPETO.Chat package.
❗️ Caution
- This feature is available in a World where multiplayer elements are implemented.
👍 Points for reference
- You can send/receive chat even in an editor environment.
- Only chat messages created by users through handlers can be sent/received (quick chat, system messages cannot be received)
- ZepetoChat.You can use Send() to send specific messages to the chat window.
- You can use the ZepetoChat.OnReceivedMessage.AddListener() to determine which event to receive the message.
Press the buttons 1 and 2 to send a specified message. Create a custom message in inputField to send the message.
Example Setting
Example Execution Results
- Feature available in a World where multiplayer elements are implemented.
- You can check on the mobile test.
- Declarations
- Example code
- Press a specific button to toggle the chat button as enabled/disabled
- Feature available in a World where multiplayer elements are implemented.
- You can check on the mobile test.
- Declarations
- Example code
- Determine if the received chat message is a filtered message and print it out on the screen.
Updated 10 Oct 2024
Did this page help you?