Mad Level Manager

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
_NAMESPACE_.MadLevelFreeLayout Class Reference
Inheritance diagram for _NAMESPACE_.MadLevelFreeLayout:

## Public Member Functions
override MadLevelIcon | GetIcon (string levelName)
| Gets the icon representation for given level name. More...
override MadLevelIcon | FindClosestIcon (Vector3 position)
| Finds the closest level icon to given position or More...
override void | LookAtIcon (MadLevelIcon icon)
| Looks at given icon; More...
void | LookAtIcon (MadLevelIcon icon, MadiTween.EaseType easeType, float time)
void | LookAtLevel (string levelName, MadiTween.EaseType easeType, float time)
Public Member Functions inherited from _NAMESPACE_.MadLevelAbstractLayout
delegate void | IconActivationEvent (MadLevelIcon icon, string levelName)
MadLevelIcon | GetFirstIcon ()
| Gets the icon representation for the first level (in order). More...
MadLevelIcon | GetLastIcon ()
| Gets the icon representation for the last level (in order). More...
MadLevelIcon | GetActiveIcon ()
| Gets the currently active icon or More...
MadLevelIcon | GetNextIcon (MadLevelIcon icon)
MadLevelIcon | GetPreviousIcon (MadLevelIcon icon)
void | LookAtLevel (string levelName)
| Looks at level. More...
void | LookAtLastPlayedLevel ()
| Looks at last played level icon. More...
void | Activate (MadLevelIcon icon)
Public Member Functions inherited from _NAMESPACE_.MadNode
T | CreateChild< T > (string name)
T | CreateChild< T > (string name, T template)
MadNode | CreateChild (string name, GameObject template)
T | FindParent< T > ()

## Public Attributes
Vector2 | offset = new Vector2(16, -16)
Texture2D | backgroundTexture
bool | lookAtLastLevel = true
bool | dirty
Public Attributes inherited from _NAMESPACE_.MadLevelAbstractLayout
MadLevelIcon | iconTemplate
TwoStepActivationType | twoStepActivationType = TwoStepActivationType.OnlyOnMobiles
bool | onIconActivatePlayAudio
AudioClip | onIconActivatePlayAudioClip
float | onIconActivatePlayAudioVolume = 1
bool | onIconDeactivatePlayAudio
AudioClip | onIconDeactivatePlayAudioClip
float | onIconDeactivatePlayAudioVolume = 1
bool | onIconActivateMessage
GameObject | onIconActivateMessageReceiver
string | onIconActivateMessageMethodName = "OnIconActivate"
bool | onIconDeactivateMessage
GameObject | onIconDeactivateMessageReceiver
string | onIconDeactivateMessageMethodName = "OnIconDeactivate"
bool | handleMobileBackButton = true
OnMobileBack | handleMobileBackButtonAction = OnMobileBack.LoadPreviousLevel
string | handleMobileBackButtonLevelName
MadLevelConfiguration | configuration
Public Attributes inherited from _NAMESPACE_.MadNode
bool | managed

## Protected Member Functions
override void | OnEnable ()
override void | Update ()
Protected Member Functions inherited from _NAMESPACE_.MadLevelAbstractLayout
virtual void | Start ()

## Additional Inherited Members
Public Types inherited from _NAMESPACE_.MadLevelAbstractLayout
enum | TwoStepActivationType { Disabled, OnlyOnMobiles, Always }
enum | OnMobileBack { LoadPreviousLevel, LoadSpecifiedLevel }
Properties inherited from _NAMESPACE_.MadNode
static bool | Instantiating`[get, set]`
Events inherited from _NAMESPACE_.MadLevelAbstractLayout
IconActivationEvent | onIconActivate
IconActivationEvent | onIconDeactivate

## Member Function Documentation

override MadLevelIcon _NAMESPACE_.MadLevelFreeLayout.FindClosestIcon | ( | Vector3 | position | ) |
| virtual

Finds the closest level icon to given position or

`null` if no icons found.

Returns
  The closest level icon.

Parameters

  position | The position.

Implements _NAMESPACE_.MadLevelAbstractLayout.

override MadLevelIcon _NAMESPACE_.MadLevelFreeLayout.GetIcon | ( | string | levelName | ) |
| virtual

Gets the icon representation for given level name.

Returns
  The level icon or `null` if not found.

Parameters

  levelName | Level name.

Implements _NAMESPACE_.MadLevelAbstractLayout.

override void _NAMESPACE_.MadLevelFreeLayout.LookAtIcon | ( | MadLevelIcon | icon | ) |
| virtual

Looks at given icon;

Parameters

  icon | Icon.

Implements _NAMESPACE_.MadLevelAbstractLayout.

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

- Assets/Mad Level Manager/Scripts/Base/Layouts/MadLevelFreeLayout.cs