|
void | AddSeat (Rigidbody2D otherBody, bool setPhysics) |
|
bool | RemoveSeat (Rigidbody2D otherBody) |
|
void | RemoveSeat (Seat seat) |
|
void | SetPhysics (Seat seat, bool on) |
|
bool | HasSeat (Rigidbody2D otherBody) |
|
void | WriteCreateData (BitPacker cd) |
|
void | ReadCreateData (BitPacker cd) |
|
|
bool | enterOnCollision = true |
|
bool | onlyFromAbove = true |
|
string | seatTag = "Seat" |
|
string | seaterTag = "" |
|
LayerMask | seatedLayer |
|
float | leftSeatSecs = 1.0f |
|
Key | exitKey = Key.Count |
|
bool | attachSeatedAsParent = true |
|
bool | disableFixedJoint = false |
|
bool | ignoreRaycastsForSeated = false |
|
bool | disablePhysicsForSeated = false |
|
bool | disableCollidersForSeated = false |
|
bool | enableTriggerForSeated = false |
|
bool | ignoreSeatedCollider = false |
|
bool | seatedBecomesKinematic = false |
|
float | anchorFrequency = 10.0f |
|
float | anchorDamping = 1.0f |
|
float | destroyIfNobodySeatedSecs = 0.0f |
|
SeatedEvent | Seated |
|
SeatedEvent | Unseated |
|
|
virtual void | Awake () |
|
virtual void | OnDestroy () |
|
virtual void | FixedUpdate () |
|
|
Dictionary< Rigidbody2D, Seat > | seats |
|
StandardObject | standard |
|
Rigidbody2D | body |
|
Collider2D | collider |
|
The documentation for this class was generated from the following file:
- C:/Transhuman/S2/Assets/Engine/Object/Seats.cs