For this lesson on how to use Photon Chat for Unity, I will show you how to create and set up a chat manager script. This script will be used to send and receive public and private messages to everyone in the current chat room and region. I will show you how to first set up a connection to the Photon Chat servers and as well as how to maintain that connection. We will also create all the necessary callback function to create our chat system.
Tag: Chat
How to Use Photon Chat for Unity Lesson 2
For this lesson on how to use the photon chat plugin, I will show you how to set up your Unity project with the photon chat plugin. To get started you will need to open the project you wish to use and navigate to the Unity Asset Store. Now there are two packages that you can install into your project. You can get just the basic Photon Chat plugin or if you are already building a multiplayer game with the PUN 2 plugin then you can just use that as it comes with the chat assets. Once you have imported the chat plugin you need to go to the official Photon site and create or sign in to your account. You will then need to create a new chat app ID then copy the ID and go back to Unity. inside Unity, you will need to locate your Photon Server Settings and paste the app ID into where it says App ID Chat.