Class ViewSystemUtilitys
Inheritance
System.Object
ViewSystemUtilitys
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Macaca.ViewSystem.dll
Syntax
public class ViewSystemUtilitys
Methods
|
Improve this Doc
View Source
CalculateDelayInTime(IEnumerable<ViewPageItem>)
Declaration
public static float CalculateDelayInTime(IEnumerable<ViewPageItem> viewPageItems)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ViewPageItem> |
viewPageItems |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CalculateDelayOutTime(IEnumerable<ViewPageItem>)
Declaration
public static float CalculateDelayOutTime(IEnumerable<ViewPageItem> viewPageItems)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ViewPageItem> |
viewPageItems |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CalculateOnLeaveDuration(IEnumerable<ViewElement>, Single)
Declaration
public static float CalculateOnLeaveDuration(IEnumerable<ViewElement> viewElements, float maxClampTime = 1F)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ViewElement> |
viewElements |
|
System.Single |
maxClampTime |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CalculateOnShowDuration(IEnumerable<ViewElement>, Single)
Declaration
public static float CalculateOnShowDuration(IEnumerable<ViewElement> viewElements, float maxClampTime = 1F)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<ViewElement> |
viewElements |
|
System.Single |
maxClampTime |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
CreatePageTransform(String, Transform, Int32)
Declaration
public static ViewSystemUtilitys.PageRootWrapper CreatePageTransform(string name, Transform canvasRoot, int sortingOrder)
Parameters
Type |
Name |
Description |
System.String |
name |
|
UnityEngine.Transform |
canvasRoot |
|
System.Int32 |
sortingOrder |
|
Returns
|
Improve this Doc
View Source
GetComponent(Component, String)
Declaration
public static Component GetComponent(Component target, string type)
Parameters
Type |
Name |
Description |
UnityEngine.Component |
target |
|
System.String |
type |
|
Returns
Type |
Description |
UnityEngine.Component |
|
|
Improve this Doc
View Source
Declaration
public static string GetPageRootName(ViewPage viewPage)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ParseUnityEngineProperty(String)
Declaration
public static string ParseUnityEngineProperty(string ori)
Parameters
Type |
Name |
Description |
System.String |
ori |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public static ViewPageItem.PlatformOption SetupPlatformDefine()
Returns