My Project
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Seats Class Reference
Inheritance diagram for Seats:
Modifiable

Classes

class  Seat
 
class  SeatedEvent
 

Public Member Functions

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)
 

Public Attributes

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
 

Protected Member Functions

virtual void Awake ()
 
virtual void OnDestroy ()
 
virtual void FixedUpdate ()
 

Protected Attributes

Dictionary< Rigidbody2D, Seatseats
 
StandardObject standard
 
Rigidbody2D body
 
Collider2D collider
 

Additional Inherited Members

- Properties inherited from Modifiable
NetworkObject net [get]
 

The documentation for this class was generated from the following file: