Exemple #1
0
 /// <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;
 }
Exemple #2
0
 private void Start()
 {
     ColorUtility.TryParseHtmlString("#BABABAAE", out HoverHighlight);
     _objectMaterial = GetComponent <MeshRenderer>().material;
     _menuBehavior   = transform.parent.GetComponent <MenuBehavior>();
 }