Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

open/close canvas

$
0
0
I have a canvas that I open and close. Problem is it only will open/close and be usable on the HOST of my multiplayer game. I've read over the syncVar and command and clientRpc and tried eveything I can think of but nothing works.

Is there an example that shows how to open/close a canvas in multiplayer?

The way I open/close is:

Code (CSharp):
  1.         teamCanvas = GameObject.Find("TeamCanvas");
  2.         teamCanvas.gameObject.SetActive(true);
  3.         isTeamSelectMenuOn = true;

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>