// Start is called before the first frame update void Start() { mState = QB_UI_STATE.SNOTCHARGING; mBar.fillAmount = 0f; mLookStorer = new ForwardVecStorer(50); TDC_EventManager.FAddHandler(TDC_GE.GE_QB_StopThrow, E_StopCharging); TDC_EventManager.FAddHandler(TDC_GE.GE_QB_ReleaseBall, E_StopCharging); TDC_EventManager.FAddHandler(TDC_GE.GE_QB_StartWindup, E_StartCharging); }
public void E_StopCharging() { mState = QB_UI_STATE.SNOTCHARGING; mBar.fillAmount = 0f; }
public void E_StartCharging() { mState = QB_UI_STATE.SCHARGING; }