Method | Description | |
---|---|---|
AddInput ( IInputSource input ) : bool | ||
AddLayer ( TouchScript.Layers.TouchLayer layer, int index = -1, bool addIfExists = true ) : bool | ||
CancelTouch ( int id ) : void | ||
CancelTouch ( int id, bool @return ) : void | ||
ChangeLayerIndex ( int at, int to ) : void | ||
GetHitTarget ( Vector2 position ) : |
||
GetHitTarget ( Vector2 position, TouchScript.Hit.TouchHit &hit ) : bool | ||
GetHitTarget ( Vector2 position, TouchScript.Hit.TouchHit &hit, TouchScript.Layers.TouchLayer &layer ) : bool | ||
RemoveInput ( IInputSource input ) : bool | ||
RemoveLayer ( TouchScript.Layers.TouchLayer layer ) : bool |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
INTERNAL_BeginTouch ( Vector2 position, IInputSource input ) : TouchScript.TouchPoint | ||
INTERNAL_BeginTouch ( Vector2 position, IInputSource input, TouchScript.Tags tags ) : TouchScript.TouchPoint | ||
INTERNAL_CancelTouch ( int id ) : void | ||
INTERNAL_EndTouch ( int id ) : void | ||
INTERNAL_MoveTouch ( int id, Vector2 position ) : void | ||
INTERNAL_UpdateTouch ( int id ) : void |
Update touch without moving it
|
|
LevelWasLoaded ( Scene scene, LoadSceneMode mode ) : void | ||
OnApplicationQuit ( ) : void | ||
OnLevelWasLoaded ( int value ) : void | ||
Update ( ) : void | ||
addDebugFigureForTouch ( TouchScript.TouchPoint touch ) : void | ||
createCameraLayer ( ) : void | ||
createTouchInput ( ) : void | ||
lateAwake ( ) : IEnumerator | ||
removeDebugFigureForTouch ( TouchScript.TouchPoint touch ) : void | ||
updateBegan ( List |
||
updateCancelled ( List |
||
updateDPI ( ) : void | ||
updateEnded ( List |
||
updateInputs ( ) : void | ||
updateLayers ( ) : void | ||
updateTouches ( ) : void | ||
updateUpdated ( List |
public AddInput ( IInputSource input ) : bool | ||
input | IInputSource | |
return | bool |
public AddLayer ( TouchScript.Layers.TouchLayer layer, int index = -1, bool addIfExists = true ) : bool | ||
layer | TouchScript.Layers.TouchLayer | |
index | int | |
addIfExists | bool | |
return | bool |
public CancelTouch ( int id, bool @return ) : void | ||
id | int | |
@return | bool | |
return | void |
public ChangeLayerIndex ( int at, int to ) : void | ||
at | int | |
to | int | |
return | void |
public GetHitTarget ( Vector2 position ) : |
||
position | Vector2 | |
return |
public GetHitTarget ( Vector2 position, TouchScript.Hit.TouchHit &hit ) : bool | ||
position | Vector2 | |
hit | TouchScript.Hit.TouchHit | |
return | bool |
public GetHitTarget ( Vector2 position, TouchScript.Hit.TouchHit &hit, TouchScript.Layers.TouchLayer &layer ) : bool | ||
position | Vector2 | |
hit | TouchScript.Hit.TouchHit | |
layer | TouchScript.Layers.TouchLayer | |
return | bool |
public RemoveInput ( IInputSource input ) : bool | ||
input | IInputSource | |
return | bool |
public RemoveLayer ( TouchScript.Layers.TouchLayer layer ) : bool | ||
layer | TouchScript.Layers.TouchLayer | |
return | bool |