private void Awake() { donut = GetComponent <Hoop>(); }
public void BindControls(Hoop hoop) { leftButton.onClick.AddListener(hoop.JumpLeft); rightButton.onClick.AddListener(hoop.JumpRight); }
private void Awake() { hoop = GetComponent <Hoop>(); }