예제 #1
0
        protected override void PopOut()
        {
            base.PopOut();

            if (localCursorContainer != null && GameplayCursor?.ActiveCursor != null)
            {
                GameplayCursor.ActiveCursor.Position = localCursorContainer.ActiveCursor.Position;
            }

            localCursorContainer?.Expire();
            localCursorContainer = null;
            GameplayCursor?.ActiveCursor?.Show();
        }
예제 #2
0
        protected override void PopIn()
        {
            base.PopIn();
            supporterText.Text = getRandomSupporter();

            // Reset the countdown
            timePassed = 3500;

            GameplayCursor.ActiveCursor.Hide();

            if (localCursorContainer == null)
            {
                Add(localCursorContainer = new SentakkiCursorContainer());
            }
        }