Esempio n. 1
0
    // 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);
    }
Esempio n. 2
0
 public void E_StopCharging()
 {
     mState          = QB_UI_STATE.SNOTCHARGING;
     mBar.fillAmount = 0f;
 }
Esempio n. 3
0
 public void E_StartCharging()
 {
     mState = QB_UI_STATE.SCHARGING;
 }