Ejemplo n.º 1
0
 protected virtual void OnCycleFinishedExecution(CycleEventArgs p_args)
 {
     if (EnableTween)
     {
         if (p_args.IsPing)
         {
             ForceSetPanelStateValue(PanelStateEnum.Opened, false);
         }
         else
         {
             ForceSetPanelStateValue(PanelStateEnum.Closed, false);
         }
     }
 }
Ejemplo n.º 2
0
        /*protected override void OnPingFinish()
         * {
         *  SetAmountToMove(true, 1f);
         * }
         *
         * protected override void OnPongFinish()
         * {
         *  SetAmountToMove(false, 1f);
         * }*/

        #endregion

        #region Other Methods

        protected virtual void HandleOnFirstStart(CycleEventArgs p_args)
        {
            CheckIfCanClampInitialValues(p_args.IsPing);
        }