CowsinsButton
New in FPS Engine 1.2
CowsinsButton extends the base Unity Button class and can be used for MainMenus and UI, provides extended functionalities to switch scenes and sections.
clickSFX: Sound Effect to play on Clicking.
buttonType: Select the behaviour of the button.
SECTION TRANSITION: Allows you enable and disable gameObjects in the UI. You can add a CanvasGroup to these objects to seamlessly play a fade in effect
SCENE TRANSITION: Load new Scenes. Notice that your desired scene must be assigned in the Build Settings. More info.
OTHER: Default Button behaviour.
SECTION TRANSITION
sectionToEnable: GameObject to enable. You can add a CanvasGroup to this object to seamlessly play a fade in effect
sectionsToDisable: GameObjects to disable. No fade effect is played on these.
SCENE TRANSITION
sceneIndex: Index of the scene to load.
Last updated