Interface IViewController
Assembly: Macaca.ViewSystem.dll
Syntax
public interface IViewController
Properties
|
Improve this Doc
View Source
IsOverlayTransition
Declaration
bool IsOverlayTransition { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
ViewPageItem.PlatformOption platform { get; }
Property Value
Methods
|
Improve this Doc
View Source
ChangePage(String, Action, Action, Action, Boolean, Boolean)
Declaration
Coroutine ChangePage(string targetViewPageName, Action OnStart = null, Action OnCheaged = null, Action OnComplete = null, bool AutoWaitPreviousPageFinish = false, bool ignoreTimeScale = false)
Parameters
Type |
Name |
Description |
System.String |
targetViewPageName |
|
System.Action |
OnStart |
|
System.Action |
OnCheaged |
|
System.Action |
OnComplete |
|
System.Boolean |
AutoWaitPreviousPageFinish |
|
System.Boolean |
ignoreTimeScale |
|
Returns
Type |
Description |
UnityEngine.Coroutine |
|
|
Improve this Doc
View Source
ChangePageBase(String, Action, Action, Action, Boolean)
Declaration
IEnumerator ChangePageBase(string viewPageName, Action OnStart, Action OnCheaged, Action OnComplete, bool ignoreTimeScale)
Parameters
Type |
Name |
Description |
System.String |
viewPageName |
|
System.Action |
OnStart |
|
System.Action |
OnCheaged |
|
System.Action |
OnComplete |
|
System.Boolean |
ignoreTimeScale |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
GetCurrentOverpageNames()
Declaration
IEnumerable<string> GetCurrentOverpageNames()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.String> |
|
|
Improve this Doc
View Source
HasOverlayPageLive()
Declaration
bool HasOverlayPageLive()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsOverPageLive(String)
Declaration
bool IsOverPageLive(string viewPageName)
Parameters
Type |
Name |
Description |
System.String |
viewPageName |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LeaveOverlayViewPage(String, Single, Action, Boolean, Boolean, Boolean)
Declaration
Coroutine LeaveOverlayViewPage(string viewPageName, float tweenTimeIfNeed = 0.4F, Action OnComplete = null, bool ignoreTransition = false, bool ignoreTimeScale = false, bool waitForShowFinish = false)
Parameters
Type |
Name |
Description |
System.String |
viewPageName |
|
System.Single |
tweenTimeIfNeed |
|
System.Action |
OnComplete |
|
System.Boolean |
ignoreTransition |
|
System.Boolean |
ignoreTimeScale |
|
System.Boolean |
waitForShowFinish |
|
Returns
Type |
Description |
UnityEngine.Coroutine |
|
|
Improve this Doc
View Source
LeaveOverlayViewPageBase(ViewSystemUtilitys.OverlayPageStatus, Single, Action, Boolean, Boolean, Boolean)
Declaration
IEnumerator LeaveOverlayViewPageBase(ViewSystemUtilitys.OverlayPageStatus overlayPageState, float tweenTimeIfNeed, Action OnComplete, bool ignoreTransition = false, bool ignoreTimeScale = false, bool waitForShowFinish = false)
Parameters
Type |
Name |
Description |
ViewSystemUtilitys.OverlayPageStatus |
overlayPageState |
|
System.Single |
tweenTimeIfNeed |
|
System.Action |
OnComplete |
|
System.Boolean |
ignoreTransition |
|
System.Boolean |
ignoreTimeScale |
|
System.Boolean |
waitForShowFinish |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
ShowOverlayViewPage(String, Boolean, Action, Action, Action, Boolean)
Declaration
Coroutine ShowOverlayViewPage(string viewPageName, bool RePlayOnShowWhileSamePage = false, Action OnStart = null, Action OnChanged = null, Action OnComplete = null, bool ignoreTimeScale = false)
Parameters
Type |
Name |
Description |
System.String |
viewPageName |
|
System.Boolean |
RePlayOnShowWhileSamePage |
|
System.Action |
OnStart |
|
System.Action |
OnChanged |
|
System.Action |
OnComplete |
|
System.Boolean |
ignoreTimeScale |
|
Returns
Type |
Description |
UnityEngine.Coroutine |
|
|
Improve this Doc
View Source
ShowOverlayViewPageBase(ViewPage, Boolean, Action, Action, Action, Boolean)
Declaration
IEnumerator ShowOverlayViewPageBase(ViewPage vp, bool RePlayOnShowWhileSamePage, Action OnStart, Action OnChanged, Action OnComplete, bool ignoreTimeScale = false)
Parameters
Type |
Name |
Description |
ViewPage |
vp |
|
System.Boolean |
RePlayOnShowWhileSamePage |
|
System.Action |
OnStart |
|
System.Action |
OnChanged |
|
System.Action |
OnComplete |
|
System.Boolean |
ignoreTimeScale |
|
Returns
Type |
Description |
System.Collections.IEnumerator |
|
|
Improve this Doc
View Source
TryLeaveAllOverlayPage()
Declaration
void TryLeaveAllOverlayPage()