/// <summary> /// Start method called by Unity Engine /// </summary> private void Start() { InitMap(); caseLoaded = false; hexialMenuBehavior = HexialMenu.GetComponent <MenuBehavior>(); NetworkMessages.Instance.MessageHandlers[NetworkMessages.MessageID.RadialMenu] = HandleMenuNetworkMessage; }
private void Start() { ColorUtility.TryParseHtmlString("#BABABAAE", out HoverHighlight); _objectMaterial = GetComponent <MeshRenderer>().material; _menuBehavior = transform.parent.GetComponent <MenuBehavior>(); }