Corgi Engine  v8.8
MoreMountains.CorgiEngine.RetroAdventureLevel Class Reference

A class to handle the display of retro adventure levels in the retro adventure level selector More...

Inheritance diagram for MoreMountains.CorgiEngine.RetroAdventureLevel:
MoreMountains.CorgiEngine.CorgiMonoBehaviour

Public Member Functions

virtual void GoToLevel ()
 The method to call to go the level specified in the inspector More...
 

Public Attributes

string SceneName
 the name of the scene to bind to this element More...
 
Image LockedIcon
 the icon showing whether or not the level is locked More...
 
MMTouchButton PlayButton
 the button to press to play the level More...
 
Image ScenePreview
 the image showing a preview of the level More...
 
Material OffMaterial
 the material to apply when the level is off More...
 
Image[] Stars
 the stars to display in the level element More...
 
Color StarOffColor
 the color to apply to stars when they're locked More...
 
Color StarOnColor
 the color to apply to stars once they've been unlocked More...
 

Protected Member Functions

virtual void Start ()
 On start we initialize our setup More...
 
virtual void InitialSetup ()
 Sets various elements (stars, locked icon) based on current saved data More...
 

Detailed Description

A class to handle the display of retro adventure levels in the retro adventure level selector

Member Function Documentation

◆ GoToLevel()

virtual void MoreMountains.CorgiEngine.RetroAdventureLevel.GoToLevel ( )
virtual

The method to call to go the level specified in the inspector

◆ InitialSetup()

virtual void MoreMountains.CorgiEngine.RetroAdventureLevel.InitialSetup ( )
protectedvirtual

Sets various elements (stars, locked icon) based on current saved data

◆ Start()

virtual void MoreMountains.CorgiEngine.RetroAdventureLevel.Start ( )
protectedvirtual

On start we initialize our setup

Member Data Documentation

◆ LockedIcon

Image MoreMountains.CorgiEngine.RetroAdventureLevel.LockedIcon

the icon showing whether or not the level is locked

◆ OffMaterial

Material MoreMountains.CorgiEngine.RetroAdventureLevel.OffMaterial

the material to apply when the level is off

◆ PlayButton

MMTouchButton MoreMountains.CorgiEngine.RetroAdventureLevel.PlayButton

the button to press to play the level

◆ SceneName

string MoreMountains.CorgiEngine.RetroAdventureLevel.SceneName

the name of the scene to bind to this element

◆ ScenePreview

Image MoreMountains.CorgiEngine.RetroAdventureLevel.ScenePreview

the image showing a preview of the level

◆ StarOffColor

Color MoreMountains.CorgiEngine.RetroAdventureLevel.StarOffColor

the color to apply to stars when they're locked

◆ StarOnColor

Color MoreMountains.CorgiEngine.RetroAdventureLevel.StarOnColor

the color to apply to stars once they've been unlocked

◆ Stars

Image [] MoreMountains.CorgiEngine.RetroAdventureLevel.Stars

the stars to display in the level element


The documentation for this class was generated from the following file: