Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add toggle to allow Fungus to run on unscaled time. Take 2. #1055

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

esklarski
Copy link

Description

These changes enable Fungus to run while Time.timeScale == 0.
What is the current behavior?

If Time.timeScale is set to 0 Fungus is paused and uninteractable
What is the new behavior?

I made these changes, sans switch, for a project where I used Fungus for all the menus. I needed to pause 3d gameplay but have a character come up to act as the pause screen menu.

Behaviour Now:

Fungus remains interactable while Time.timeScale == 0

Important Notes

My change require modifcations or additions to documentation
My change modifies the runtime execution/behaviour of existing Fungus Features. e.g., Say, Menus, Portraits, etc.
My change adds demos to FungusExamples -- coming soon

Other information

Still a work in progress:

Need advising on location of behaviour switch (currently FungusManager.cs)

@esklarski
Copy link
Author

Here's a much cleaner version than my original. I'll add a demo scene when I get a bit more time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant