C# Class gun, GrapplingHookFighters

Inheritance: MonoBehaviour, item
Mostrar archivo Open project: PurdueSIGGD/GrapplingHookFighters Class Usage Examples

Public Properties

Property Type Description
bulletPhys UnityEngine.PhysicsMaterial2D
critGameObject GameObject
deleteEmptyTime float
emptySprite Sprite
playerid int
projectileGameObject GameObject
reticlePos Vector2
shellSprite Sprite
shootPoint Vector3
soundTag string
timeToShoot float
trigger bool

Public Methods

Method Description
Damage ( Transform t, Vector2 endPoint, Vector2 angle ) : void
Death ( ) : void
NotDeath ( ) : void
OnCollisionEnter2D ( Collision2D col ) : void
SetPlayerID ( int playerid ) : void
Start ( ) : void
Update ( ) : void
click ( ) : void
unclick ( ) : void

Private Methods

Method Description
GetOdds ( ) : bool

Method Details

Damage() public method

public Damage ( Transform t, Vector2 endPoint, Vector2 angle ) : void
t Transform
endPoint Vector2
angle Vector2
return void

Death() public method

public Death ( ) : void
return void

NotDeath() public method

public NotDeath ( ) : void
return void

OnCollisionEnter2D() public method

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

SetPlayerID() public method

public SetPlayerID ( int playerid ) : void
playerid int
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

click() public method

public click ( ) : void
return void

unclick() public method

public unclick ( ) : void
return void

Property Details

bulletPhys public_oe property

public PhysicsMaterial2D,UnityEngine bulletPhys
return UnityEngine.PhysicsMaterial2D

critGameObject public_oe property

public GameObject critGameObject
return GameObject

deleteEmptyTime public_oe property

public float deleteEmptyTime
return float

emptySprite public_oe property

public Sprite emptySprite
return Sprite

playerid public_oe property

public int playerid
return int

projectileGameObject public_oe property

public GameObject projectileGameObject
return GameObject

reticlePos public_oe property

public Vector2 reticlePos
return Vector2

shellSprite public_oe property

public Sprite shellSprite
return Sprite

shootPoint public_oe property

public Vector3 shootPoint
return Vector3

soundTag public_oe property

public string soundTag
return string

timeToShoot public_oe property

public float timeToShoot
return float

trigger public_oe property

public bool trigger
return bool