◆ Controller()
ColliderDistance2D properties distance Gets the distance between two colliders. isOverlapped Gets whether the distance represents an overlap or not. isValid Gets whether the distance is valid or not. normal A normalized vector that points from pointB to pointA. pointA A point on a Collider2D that is a specific distance away from pointB. pointB A point on a Collider2D that is a specific distance away from pointA.
◆ ApproachingEdge()
bool Controller.ApproachingEdge |
( |
| ) |
|
◆ GetAxis()
virtual float Controller.GetAxis |
( |
string |
code | ) |
|
|
virtual |
◆ GetClosestPlatformDirection()
Vector2 Controller.GetClosestPlatformDirection |
( |
| ) |
|
◆ GetKeyDown()
virtual bool Controller.GetKeyDown |
( |
string |
code | ) |
|
|
virtual |
◆ JumpsExhausted()
bool Controller.JumpsExhausted |
( |
| ) |
|
◆ OpponentAbove()
bool Controller.OpponentAbove |
( |
| ) |
|
◆ OpponentRight()
bool Controller.OpponentRight |
( |
| ) |
|
◆ OverPit() [1/2]
bool Controller.OverPit |
( |
| ) |
|
◆ OverPit() [2/2]
bool Controller.OverPit |
( |
Vector2 |
offset | ) |
|
◆ PlayerInRangeOfMove()
bool Controller.PlayerInRangeOfMove |
( |
| ) |
|
◆ SetPlayer1Buttons()
void Controller.SetPlayer1Buttons |
( |
| ) |
|
◆ SetPlayer2Buttons()
void Controller.SetPlayer2Buttons |
( |
| ) |
|
◆ Update()
virtual void Controller.Update |
( |
| ) |
|
|
virtual |
◆ horizontalAxis
string Controller.horizontalAxis |
◆ jumpKey
string Controller.jumpKey |
◆ mask
LayerMask Controller.mask |
◆ move1Key
string Controller.move1Key |
◆ opponent
◆ pauseKey
string Controller.pauseKey |
◆ player
◆ playerTransform
Transform Controller.playerTransform |
The documentation for this class was generated from the following file:
- C:/Users/samue/OneDrive/Documents/GitHub/BrawlerAGD/Assets/Controllers/Controller.cs