Свойство | Тип | Описание | |
---|---|---|---|
TileHit | |||
TileHitDown | |||
collisionDown | bool | ||
collisionLeft | bool | ||
collisionRight | bool | ||
collisionUp | bool | ||
rayDistance | float | ||
rayPoints | List |
||
rays | List |
||
raysDown | List |
||
raysLeft | List |
||
raysRight | List |
||
raysUp | List |
||
showRays | bool |
Метод | Описание | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void | ||
checkCollision ( ) : void | ||
drawRaycast ( ) : void | ||
getRays ( ) : void |
Метод | Описание | |
---|---|---|
checkCollision ( List |
public RaycastHit2D,UnityEngine TileHit | ||
Результат |
public RaycastHit2D,UnityEngine TileHitDown | ||
Результат |