C# Class HeadScript, Heracles

Inheritance: MonoBehaviour
显示文件 Open project: TrinityUniversityGameDesign/Heracles Class Usage Examples

Public Properties

Property Type Description
active bool
arcFire GameObject
attackType int
attacking bool
fire GameObject
fireLife int
fireSpeed float
pos Transform
sprite SpriteRenderer

Public Methods

Method Description
FixedUpdate ( ) : void
OnTriggerEnter2D ( Collider2D otherCollider ) : void
Start ( ) : void
attack ( ) : void
chargingColors ( ) : void
damage ( ) : void

Private Methods

Method Description
abs ( float num ) : float

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnTriggerEnter2D() public method

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

Start() public method

public Start ( ) : void
return void

attack() public method

public attack ( ) : void
return void

chargingColors() public method

public chargingColors ( ) : void
return void

damage() public method

public damage ( ) : void
return void

Property Details

active public_oe property

public bool active
return bool

arcFire public_oe property

public GameObject arcFire
return GameObject

attackType public_oe property

public int attackType
return int

attacking public_oe property

public bool attacking
return bool

fire public_oe property

public GameObject fire
return GameObject

fireLife public_oe property

public int fireLife
return int

fireSpeed public_oe property

public float fireSpeed
return float

pos public_oe property

public Transform pos
return Transform

sprite public_oe property

public SpriteRenderer sprite
return SpriteRenderer