C# Class Assets.Scripts.Weapons.Bullet

Inheritance: UnityEngine.MonoBehaviour
显示文件 Open project: EricFreeman/DungeonGame Class Usage Examples

Public Properties

Property Type Description
Damage int
IsFriendly bool
Speed float

Public Methods

Method Description
Update ( ) : void

Private Methods

Method Description
OnTriggerEnter ( Collider col ) : void

Method Details

Update() public method

public Update ( ) : void
return void

Property Details

Damage public_oe property

public int Damage
return int

IsFriendly public_oe property

public bool IsFriendly
return bool

Speed public_oe property

public float Speed
return float