void Start() { button = GetComponent <Button>(); controller = LudoController.GetComponent <LudoGameController>(); button.interactable = false; }
void Start() { //Debug.Log("Game mode: " + GameManager.Instance.mode.ToString()); diceController = dice.GetComponent <GameDiceController>(); ludoController = GameObject.Find("GameSpecific").GetComponent <LudoGameController>(); rect = GetComponent <RectTransform>(); initScale = rect.localScale; initPosition = rect.anchoredPosition; GetComponent <Button>().interactable = false; if (GameManager.Instance.mode == MyGameMode.Master) { canMakeJoint = true; } }