Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SceneSwitch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
unity
SceneSwitch
Commits
3c54b05b
Commit
3c54b05b
authored
4 years ago
by
David Huss
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
32f3563c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
3c54b05b
...
...
@@ -2,12 +2,12 @@
Allows you to switch the active Scene when a Triggervolume is entered, exited or when you stay in a trigger volume for long enough
1.
Copy the Script
`Assets/SceneSwitch.cs`
and
`Assets/Data.cs`
to your assets folder
2.
Drag
`SceneSwitch.cs`
onto the Trigger Volume
1.
Copy the Script
`Assets/SceneSwitch.cs`
and
`Assets/Data.cs`
to your assets folder
(unless you already have one e.g. from the SoundManager)
2.
Drag
`SceneSwitch.cs`
onto the Trigger Volume
that should make the transition possible
3.
Enter a Scene Name (for the target Scene)
4.
Select a mode (On Enter, On Exit, Countdown)
5.
Drag
`Data.cs`
onto an empty Gameobject called "Data"
Data.cs can be used to transfer Data between scenes
\ No newline at end of file
Data.cs is used to transfer Data between scenes
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment