Samples

The samples for the Messenger Tool can be found in the Assets/Plugins/JrCooler/EasyMultiplayer/Messenger/Samples folder. This directory contains both the sample scripts and the sample scene. Below, we provide explanations for each script.

MessengerSampleGettingStarted.cs

This script explains the basic usage of the Messenger system and demonstrates how to use the redirection feature.

MessengerSampleStatic.cs

This script provides an example of how messages can be utilized throughout your game, from static classes to MonoBehaviour, as long as you have at least one instance of them!

MessengerSampleComplex.cs

This script showcases the capabilities of JSON serialization within the Messenger system.

If you still need any help, contact me!

Last updated