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

SyncVar Hook help

$
0
0
I am a bit confused and would like to ask for some help getting this piece of code to work.

Here is what i try to accomplish:

1) I have a button that trigger: "OpenMenu"
2) "anim_Menu.SetBool ("isOut", true);" trigger an animation that moves the menu into the scene

It does not work!

Code (CSharp):
  1. using UnityEngine;
  2. using UnityEngine.Networking;
  3. using System.Collections;
  4. using UnityEngine.UI;
  5.  
  6. public class UI_Menu : NetworkBehaviour {
  7.  
  8.     public Animator anim_Menu;
  9.     public Button...
SyncVar Hook help

Viewing all articles
Browse latest Browse all 16796

Trending Articles



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