private void Start() { menu = GetComponent <UGUI_MenuSwitch>(); }
// Use this for initialization void Start() { qr = GetComponent <CreateQR>(); text = GetComponentInChildren <InputField>(); menu = GetComponent <UGUI_MenuSwitch>(); }