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(); }
protected override void PopIn() { base.PopIn(); supporterText.Text = getRandomSupporter(); // Reset the countdown timePassed = 3500; GameplayCursor.ActiveCursor.Hide(); if (localCursorContainer == null) { Add(localCursorContainer = new SentakkiCursorContainer()); } }