Easy Code For Vivox
  • Introduction
    • Official Links
    • Getting Started
      • Wheres The Code
      • Setup EasyCode in My Project
    • Setup Demo Scenes
      • Vivox Developer Portal
      • Unity Gaming Services (UGS) Dashboard
    • Things To Consider
    • FAQ
  • Development Info
    • Design Decisions
    • Release Notes
      • v2.0
      • v1.3
      • v1.2
      • v1.1
      • Template
    • Not Supported
  • Easy Code For Vivox
    • How do I setup EasyCode?
      • Setup Your Credentials
    • How do I do this in EasyCode?
      • Login / Logout
        • Login Properties
        • SetTransmissionMode
        • Login Events
      • Join / Leave Channel
        • Audio Channel
          • Audio Channel Events
        • Text Channel
          • Text Channel Events
        • Channel Events
      • Send Messages
        • Message Events
      • Mute / Unmute
        • Mute / Unmute Events
      • Subscribe to User Events
      • Volume / Audio Settings
        • Audio Device Events
      • Text To Speech ( TTS )
        • TTS Events
    • Vivox Access Tokens
      • Unity Cloud Code
    • Supported Vivox Events
      • Callback Methods
    • Folder Structure / Info
      • / Demo Scenes /
      • / Documentation /
      • / Examples /
      • / Plugins /
      • / Resources /
      • / Scripts /
      • / Settings /
    • Common Errors
  • API Info
    • EasySession.cs
    • EasyManager.cs
      • Main Methods
      • Vivox Event Callbacks
    • Easy3DPositional.cs
    • EasyVivoxUtilities.cs
    • EasySettings.cs
    • Extension Methods
      • EasySIPExtensions.cs
      • GameObjectExtensions.cs
      • TTSMessageExtensions.cs
      • UIExtensions.cs
      • VivoxExtensions.cs
      • EasyDebug.cs
    • EasyEvents.cs
  • Dependency Injection
    • Zenject vs Extenject
    • Install Dependencies
    • Inject Classes
  • Dynamic Events
    • Dynamic Events
    • Tests
    • Gotchas
    • Dynamic Async Events
      • Dont Do
    • Event Examples
  • Related Info
    • How do I do this in Vivox?
      • Conference Chat
    • Pre-Processor Directives
    • How to set iOS Info.plist for Unity?
    • Unity Gaming Services
  • The Future
    • Roadmap
    • Todo / Notes / Changelog
Powered by GitBook
On this page

Was this helpful?

  1. Introduction

Setup Demo Scenes

Demo Scenes

After importing Easy Code For Vivox into your project from the Unity Asset Store open the scenes folder in Assets/EasyCodeForVivox/Demo Scenes you will see all the available demo scenes in the current version you have imported. The Chat demo scenes use the TextMeshPro Unity UI and come ready to use so you can see Vivox in action ASAP (As soon as possible). The 3d demo scenes require Unity's NetCodeForGameobjects.

Inside of Assets/EasyCodeForVivox/Examples/Demo Scene Examples/ folder you will see a script called EasyChatExample.cs or Easy3DExample.cs The example scripts mentioned above are inheriting from EasyManager.cs Feel free to change the class name of the Example scripts or create your own by inheriting from EasyManager.cs as a base class. EasyManager.cs inherits from MonoBehaviour so you can attach it to a GameObject. EasyExample.cs contains higher level methods (not as complex) to be able to access Vivox functionality to be used in void methods for buttons or UI elements in Unity.

** Don’t change the name of EasyManager.cs . Create a copy of it and change its name and namespace

Also in Visual Studio 2019/2022 if you click on the name of a script and hold Control and then press R twice ( ctrl + R + R ) you will automatically rename any reference to the script you want to rename. Recommended if you end up using the default example scripts that come with asset. Sometimes you have to manually change the filename in Unity for the script to compile properly

PreviousWheres The CodeNextVivox Developer Portal

Last updated 2 years ago

Was this helpful?