public void SetButton(TBInput.Button button, TBInput.Controller controller) { _button = button; _controller = controller; if (!TBInput.SupportsAxis1D(button, controller)) { transform.parent.gameObject.SetActive(false); } }
public void SetButton(TBInput.Button button, TBInput.Controller controller) { _button = button; _controller = controller; if (!TBInput.SupportsAxis1D(button, controller)) { transform.parent.gameObject.SetActive(false); } }