C# Class ScriptRuntime.Util

场景中的基本方法,此类的方法都为静态方法。
Inheritance: ScriptRuntime.Base
Mostra file Open project: Genesis-3D/Genesis-3D

Public Methods

Method Description
GetDeltaTime ( ) : float

获取当前帧的时间.

GetRootScript ( ) : RuntimeScriptRoot

获取脚本根节点.

SaveScene ( String sceneName ) : bool

保存场景

Private Methods

Method Description
CreateFromCPPByteArray ( IntPtr arrayBegin ) : System.Guid
ICall_Util_GetDeltaTime ( ) : float
ICall_Util_GetRootScript ( ) : RuntimeScriptRoot
ICall_Util_SaveScene ( String sceneName ) : bool

Method Details

GetDeltaTime() public static method

获取当前帧的时间.
public static GetDeltaTime ( ) : float
return float

GetRootScript() public static method

获取脚本根节点.
public static GetRootScript ( ) : RuntimeScriptRoot
return RuntimeScriptRoot

SaveScene() public static method

保存场景
public static SaveScene ( String sceneName ) : bool
sceneName String 要保存的场景的名字
return bool