프로퍼티 | 타입 | 설명 | |
---|---|---|---|
bottomRacketX | float | ||
height | int | ||
isBottomRacketValid | bool | ||
isTopRacketValid | bool | ||
texture | |||
topRacketX | float | ||
wallWidth | int | ||
width | int |
메소드 | 설명 | |
---|---|---|
AddBall ( Vector2 pos, Vector2 vel, float speed = 1 ) : void | ||
AddBall ( float rankSpeed = 1 ) : void | ||
AddScore ( ) : void | ||
GetAnother ( int offset = 1 ) : Pongpector, | ||
Miss ( ) : void | ||
Start ( ) : void | ||
TestRacketCollision ( Vector2 pos, Vector2 vel, float radius ) : bool | ||
UpdateFrame ( ) : void |
public AddBall ( Vector2 pos, Vector2 vel, float speed = 1 ) : void | ||
pos | Vector2 | |
vel | Vector2 | |
speed | float | |
리턴 | void |
public TestRacketCollision ( Vector2 pos, Vector2 vel, float radius ) : bool | ||
pos | Vector2 | |
vel | Vector2 | |
radius | float | |
리턴 | bool |