Exemplo n.º 1
0
        protected virtual float GetY(float start)
        {
            float ticks = level.midiSequencer.ticks;

            if (ticks < start)
            {
                // in cache period
                return(Es.Calc(cacheEsType, Mathf.Clamp01((start - ticks) / cacheTicks)) * cacheHeight + judgeHeight);
            }
            else                 // start <= ticks
            // in grace period
            {
                return(judgeHeight - judgeHeight * Es.Calc(graceEsType, Mathf.Clamp01((ticks - start) / graceTicks)));
            }
        }
Exemplo n.º 2
0
        public void Clear()
        {
            EnSize = 0;
            JpSize = 0;
            NlSize = 0;
            FrSize = 0;
            EsSize = 0;
            ItSize = 0;
            KrSize = 0;
            ZhSize = 0;
            PrSize = 0;

            En.Clear();
            Jp.Clear();
            Nl.Clear();
            Fr.Clear();
            Es.Clear();
            It.Clear();
            Kr.Clear();
            Zh.Clear();
            Pr.Clear();
        }
 public Result()
 {
     ErrorStr = "";
     SQLStr = "";
     ErrorCode = Es.S_OK;
 }
 public Result()
 {
     ErrorStr = "";
     ResultData = new Dictionary<string, List<object>>();
     ErrorCode = Es.S_OK;
 }