// Start is called before the first frame update void Start() { manager = GameObject.Find("Game Manager"); gameManager = manager.GetComponent <GameManager>(); countdownTimerText = countdown.GetComponent <TextMeshProUGUI>(); logMotion = woodLog.GetComponent <LogMotion>(); successToggles = successArray.GetComponentsInChildren <Toggle>(); }
// Start is called before the first frame update public void Start() { logMotion = GetComponentInParent <LogMotion>(); }