예제 #1
0
        private void PerformFishIsAvailableLogic()
        {
            hasShownExclamation = true;
            ExclamationIconInstance.CurrentIconDisplayState = EmotiveIcon.IconDisplay.Exclamation;
            ExclamationIconInstance.Visible = true;
            ExclamationIconInstance.BeginAnimations();

            IsFishOnLine = true;
            SoundManager.Play(GlobalContent.FishOnLineSound);
            this.Call(StopFishAvailable)
            .After(TimeFishExclamationShows);
        }
예제 #2
0
        private void StopFishAvailable()
        {
            if (IsFishOnLine)
            {
                ExclamationIconInstance.Visible = false;
                IsFishOnLine = false;

                hasShownExclamation = false;
                StopFishing();
                FishLost?.Invoke();

                ExclamationIconInstance.CurrentIconDisplayState = EmotiveIcon.IconDisplay.Explitive;
                ExclamationIconInstance.Visible = true;
                ExclamationIconInstance.BeginAnimations(shouldHideAfter: true);
            }
        }
예제 #3
0
 public void MoveDisplayElementsToUiLayer(Layer uiLayer)
 {
     ExclamationIconInstance.MoveToLayer(uiLayer);
 }