Method RotateGun
RotateGun(ITransform, ITransform, IAttack, Single, Boolean)
Declaration
public bool RotateGun(ITransform weaponPoint, ITransform firePoint, IAttack attack, float projectileSpeed, bool isArtillery)
Parameters
Type | Name | Description |
---|---|---|
ITransform | weaponPoint | |
ITransform | firePoint | |
IAttack | attack | |
System.Single | projectileSpeed | |
System.Boolean | isArtillery |
Returns
Type | Description |
---|---|
System.Boolean |