C# Class GrappleScript, GrapplingHookFighters

Inheritance: MonoBehaviour
Exibir arquivo Open project: PurdueSIGGD/GrapplingHookFighters Class Usage Examples

Public Properties

Property Type Description
breakTime float
center Transform
disconnectMe bool
focus GameObject
grappleState int

Public Methods

Method Description
Attach ( GameObject g ) : void
Detach ( ) : void
Launch ( Vector2 firingVector ) : void
OnCollisionEnter2D ( Collision2D col ) : void
OnTriggerEnter2D ( Collider2D col ) : void
Release ( ) : void
ResetLast ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Attach() public method

public Attach ( GameObject g ) : void
g GameObject
return void

Detach() public method

public Detach ( ) : void
return void

Launch() public method

public Launch ( Vector2 firingVector ) : void
firingVector Vector2
return void

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D col ) : void
col Collision2D
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

Release() public method

public Release ( ) : void
return void

ResetLast() public method

public ResetLast ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

breakTime public_oe property

public float breakTime
return float

center public_oe property

public Transform center
return Transform

disconnectMe public_oe property

public bool disconnectMe
return bool

focus public_oe property

public GameObject focus
return GameObject

grappleState public_oe property

public int grappleState
return int