protected override void OnPressed06(DotBehavior dot) { if (_dotsPressed[dot.Id - 1] == true) { return; } _dotsPressed[dot.Id - 1] = true; ScaleUtil.MakeBiggest(dot); ShowNext(); }
private void ShowNext() { if (_count <= 0) { DelayedRun(() => { GotoNextPage(); }, NextPageDelay); return; } var randomIdx = UnityEngine.Random.Range(0, _dotsToShow.Count - 1); var dotsIdx = _dotsToShow.ElementAt(randomIdx); _dotsToShow.RemoveAt(randomIdx); var dot = Controller.DotsBehavior[dotsIdx]; ScaleUtil.MakeSmallest(dot); ShowDot(dot.Id + 1); _count--; }
protected override void OnPressed01(DotBehavior dot) { DelayedRun(() => { ScaleUtil.MakeBigger(dot); }, AnyActionDelay); }