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); }
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); } }
public void MoveDisplayElementsToUiLayer(Layer uiLayer) { ExclamationIconInstance.MoveToLayer(uiLayer); }