Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
|
global:stages [2022/12/24 20:13] FreedTerror |
global:stages [2022/12/24 23:43] (current) FreedTerror |
===== Loading Method (PRO/Source) ===== | ===== Loading Method (PRO/Source) ===== |
| |
**Stage Prefab/Stage Music** | **Stage Prefab** |
* **Legacy:** Loads the prefab along with the game. | * **Legacy:** Loads the prefab along with the game. |
* **Resources Folder:** Loads the prefab files from the [[https://docs.unity3d.com/Manual/LoadingResourcesatRuntime.html|Resources folder]]. If this option is selected you need to write the path of the file into the fields that will appear under the stage options below.\\ Example: Type in ''Stages\Stage'' if the file is located under ''.Resources\Stages\Stage.prefab''. The Resources Folder can be placed anywhere in your project (there is one located under ''.UFE\'') | * **Resources Folder:** Loads the prefab files from the [[https://docs.unity3d.com/Manual/LoadingResourcesatRuntime.html|Resources folder]]. If this option is selected you need to write the path of the file into the fields that will appear under the stage options below.\\ Example: Type in ''Stages\Stage'' if the file is located under ''.Resources\Stages\Stage.prefab''. The Resources Folder can be placed anywhere in your project (there is one located under ''.UFE\'') |
* **Scene File:** | * **Scene File:** Loads a scene. Useful when you need custom lighting. If this option is selected you need to write the path of the file into the fields that will appear under the stage options below. \\ Example: ''Assets/UFE/Demos/Shared_Assets/Stages/TrainingRoom2D/TrainingRoom.unity'' |
| |
| |
| |
**Screenshot:** A screenshot of this stage. | **Screenshot:** A screenshot of this stage. |
| |
| |
**Note:** Your stage prefab must have a plane mesh under the layer "Ground". Check the Training Room prefab example. | |
| |
---- | ---- |
| |
{{youtube>JdqkKPhzM8E }} | {{youtube>JdqkKPhzM8E }} |
| {{youtube>oMM1FC3eueo}} |
| |
| |