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!
SyncVar Hook help
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):
- using UnityEngine;
- using UnityEngine.Networking;
- using System.Collections;
- using UnityEngine.UI;
- public class UI_Menu : NetworkBehaviour {
- public Animator anim_Menu;
- public Button...