C# Class TouchScript.Layers.UILayer

Inheritance: TouchScript.Layers.TouchLayer
显示文件 Open project: TouchScript/TouchScript Class Usage Examples

Public Methods

Method Description
GetProjectionParams ( TouchPoint touch ) : TouchScript.Layers.ProjectionParams
Hit ( Vector2 position, TouchScript.Hit.TouchHit &hit ) : LayerHitResult

Protected Methods

Method Description
Awake ( ) : void
lateAwake ( ) : IEnumerator
setName ( ) : void

Private Methods

Method Description
doHit ( RaycastResult raycastHit, TouchScript.Hit.TouchHit &hit ) : HitTest.ObjectHitResult

Method Details

Awake() protected method

protected Awake ( ) : void
return void

GetProjectionParams() public method

public GetProjectionParams ( TouchPoint touch ) : TouchScript.Layers.ProjectionParams
touch TouchPoint
return TouchScript.Layers.ProjectionParams

Hit() public method

public Hit ( Vector2 position, TouchScript.Hit.TouchHit &hit ) : LayerHitResult
position Vector2
hit TouchScript.Hit.TouchHit
return LayerHitResult

lateAwake() protected method

protected lateAwake ( ) : IEnumerator
return IEnumerator

setName() protected method

protected setName ( ) : void
return void