My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Flag Class Reference
Inheritance diagram for Flag:
Modifiable

Public Member Functions

float GetTeamDirection ()
 
ItemPickup GetHolder ()
 
void Return ()
 
void Master_Return ()
 
void Master_Capture (Flag baseFlag)
 
void ResetBody ()
 
void AddTouchedEvent (Action< GameObject, GameObject > x)
 
void RemoveTouchedEvent (Action< GameObject, GameObject > x)
 
bool IsLooseFlag ()
 

Static Public Member Functions

static bool IsFlag (GameObject gameObject)
 
static Flag GetFlagFromCarrier (GameObject carrier)
 

Public Attributes

float uprightTorque = 10.0f
 
float parentVelocityFactor = 10.0f
 
float parentVelocitySmooth = 0.1f
 
Vector3 wind = new Vector3(2.0f, 9.0f, 0.0f)
 
Vector3 windRandom = new Vector3(5.0f, 3.0f, 0.0f)
 
float windRandomFrequency = 5.0f
 
float standingVolume = 0.8f
 
float triggerRadius = 2f
 
LayerMask triggerLayer
 
bool carried = false
 
bool safe = true
 
bool inbase = true
 
bool dropped = false
 
float baseRadius = 8.0f
 
float basePosLerp = 0.05f
 
Rigidbody2D body
 
Collider2D col
 
VerletCloth cloth
 
MeshRenderer render
 
Team team
 
BaseCapture baseCapture
 
Vector3 basePoint
 
float triggerGuardTime
 
float looseTime
 
bool grabbed
 
bool blink
 
ItemPickup holder
 
ItemPickup lastholder
 
Player lastTouchedPlayer
 
SpriteRenderer glowSprite
 
Action< GameObject, GameObject > triggered
 

Static Public Attributes

static List< Flag_flags = new List<Flag>()
 

Properties

bool Capturable [get, set]
 
- Properties inherited from Modifiable
NetworkObject net [get]
 

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