|
| enum | TwoStepActivationType { Disabled,
OnlyOnMobiles,
Always
} |
| |
| enum | LoadLevel { Immediately,
WithDelay,
SendMessage,
DoNotLoad
} |
| |
| enum | OnMobileBack { LoadPreviousLevel,
LoadSpecifiedLevel
} |
| |
| enum | LookLevelType { FirstLevel,
LastUnlocked,
LastCompleted
} |
| |
| enum | LevelsEnumerationType { Numbers,
Letters,
LettersLower,
Roman
} |
| |
|
|
MadLevelIcon | iconTemplate |
| |
|
bool | lookAtLastLevel = true |
| |
|
LookLevelType | lookAtLevel = LookLevelType.FirstLevel |
| |
|
LevelsEnumerationType | enumerationType = LevelsEnumerationType.Numbers |
| |
|
int | enumerationOffset = 0 |
| |
|
TwoStepActivationType | twoStepActivationType = TwoStepActivationType.Disabled |
| |
|
LoadLevel | loadLevel = LoadLevel.Immediately |
| |
|
float | loadLevelLoadLevelDelay = 1.5f |
| |
|
GameObject | loadLevelMessageReceiver |
| |
|
string | loadLevelMessageName |
| |
|
bool | loadLevelMessageIncludeChildren |
| |
|
bool | onIconActivatePlayAudio |
| |
|
AudioClip | onIconActivatePlayAudioClip |
| |
|
float | onIconActivatePlayAudioVolume = 1 |
| |
|
bool | onIconDeactivatePlayAudio |
| |
|
AudioClip | onIconDeactivatePlayAudioClip |
| |
|
float | onIconDeactivatePlayAudioVolume = 1 |
| |
|
bool | onIconActivateMessage |
| |
|
GameObject | onIconActivateMessageReceiver |
| |
|
string | onIconActivateMessageMethodName = "OnIconActivate" |
| |
|
bool | onIconActivateMessageIncludeChildren |
| |
|
bool | onIconDeactivateMessage |
| |
|
GameObject | onIconDeactivateMessageReceiver |
| |
|
string | onIconDeactivateMessageMethodName = "OnIconDeactivate" |
| |
|
bool | onIconDeactivateMessageIncludeChildren |
| |
|
bool | handleMobileBackButton = true |
| |
|
OnMobileBack | handleMobileBackButtonAction = OnMobileBack.LoadPreviousLevel |
| |
|
string | handleMobileBackButtonLevelName |
| |
|
MadLevelConfiguration | configuration |
| |
|
int | configurationGroup = 0 |
| |
|
bool | useCurrentlyActiveConfiguration |
| |
|
bool | fullyInitialized |
| |
|
bool | managed |
| |
|
|
virtual void | Update () |
| |
|
virtual void | OnEnable () |
| |
|
virtual void | Start () |
| |
|
void | DeactivateActiveIcon () |
| |
|
MadLevelIcon | CreateIcon (Transform parent, string name, MadLevelIcon template) |
| |
|
string | GetEnumerationValue (int index) |
| |
|
|
IconActivationEvent | onIconActivate |
| |
|
IconActivationEvent | onIconDeactivate |
| |
| abstract MadLevelIcon MadLevelManager.MadLevelAbstractLayout.FindClosestIcon |
( |
Vector3 |
position | ) |
|
|
pure virtual |
| MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetActiveIcon |
( |
| ) |
|
Gets the currently active icon or
null if no icon is active.
- Returns
- The currently active icon.
| MadLevelIcon [] MadLevelManager.MadLevelAbstractLayout.GetAllIcons |
( |
| ) |
|
Gets all active icons available in the layout.
- Returns
| virtual MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetCurrentIcon |
( |
| ) |
|
|
virtual |
| MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetFirstIcon |
( |
| ) |
|
Gets the icon representation for the first level (in order).
- Returns
- The first level icon.
| abstract MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetIcon |
( |
string |
levelName | ) |
|
|
pure virtual |
| MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetLastCompletedIcon |
( |
| ) |
|
Gets the last completed level icon in current group or null if cannot be found.
- Returns
| MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetLastIcon |
( |
| ) |
|
Gets the icon representation for the last level (in order).
- Returns
- The last level icon.
| MadLevelIcon MadLevelManager.MadLevelAbstractLayout.GetLastUnlockedIcon |
( |
| ) |
|
Gets last unlocked icon or null if cannot be found.
- Returns
| abstract void MadLevelManager.MadLevelAbstractLayout.LookAtIcon |
( |
MadLevelIcon |
icon | ) |
|
|
pure virtual |
| bool MadLevelManager.MadLevelAbstractLayout.LookAtLastPlayedLevel |
( |
| ) |
|
Looks at last played level icon.
- Returns
- true if last level were found
| bool MadLevelManager.MadLevelAbstractLayout.LookAtLevel |
( |
string |
levelName | ) |
|
Looks at level.
- Parameters
-
The documentation for this class was generated from the following file:
- Assets/Mad Level Manager/Scripts/Base/Layouts/MadLevelAbstractLayout.cs