Свойство | Тип | Описание | |
---|---|---|---|
Player | GameObject | ||
lazerStartPos | Vector2 | ||
moveSpeed | float | ||
target | Vector2 | ||
wall | GameObject |
Метод | Описание | |
---|---|---|
OnCollisionEnter2D ( Collision2D c ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public OnCollisionEnter2D ( Collision2D c ) : void | ||
c | Collision2D | |
Результат | void |