// Update is called once per frame void Update() { inputInfo.UpdateControllerInfo(); delegateDoSomething?.Invoke(inputInfo); }