Property | Type | Description | |
---|---|---|---|
lookHorizontally | bool | ||
lookVertically | bool | ||
rayDistance | float | ||
returnToOrigin | bool | ||
reverseInitialLookDirection | bool | ||
rotate | bool | ||
rotationAngles | Vector3 | ||
speed | float | ||
sticky | bool | ||
time | float |
Property | Type | Description | |
---|---|---|---|
AdjustPosition | Vector2 | ||
GetWallPosition | Vector2 |
Method | Description | |
---|---|---|
ApplyTheSticky ( |
||
DestroyTween ( string tweenType ) : void | ||
OnCollisionEnter2D ( Collision2D coll ) : void | ||
Start ( ) : void | ||
StartTween ( Vector3 moveToOrRotatePosition, string tweenType ) : void | ||
TweenCompleted ( ) : void |
Method | Description | |
---|---|---|
AdjustPosition ( Vector2 movePosition ) : Vector2 | ||
GetWallPosition ( ) : Vector2 |
public ApplyTheSticky ( |
||
coll | ||
jointToApplyStick | ||
return | void |
public DestroyTween ( string tweenType ) : void | ||
tweenType | string | |
return | void |
public OnCollisionEnter2D ( Collision2D coll ) : void | ||
coll | Collision2D | |
return | void |
public StartTween ( Vector3 moveToOrRotatePosition, string tweenType ) : void | ||
moveToOrRotatePosition | Vector3 | |
tweenType | string | |
return | void |