Skip to content

Stage.SpawnBullet Method

Namespace: SpaceUsurper

Overloads

SpawnBullet(DataPath<BulletData>, Vector2, Single, Vector2, Boolean, Single, Single, Int32, Int32, Boolean, Player)

Parameters

DataPath<BulletData> path

Vector2 pos

Single angle

Vector2 addVelocity

Boolean mirrorBulletAngles

Single sizeMultiplier

Single opacityMultiplier

Int32 bulletNum

Int32 level

Boolean forceLegacyBullet

Player targetPlayer

SpawnBullet(DataPath<BulletData>, Vector2, Vector2, Vector2, Boolean, Single, Single, Int32, Int32, Boolean, Player)

Parameters

DataPath<BulletData> path

Vector2 pos

Vector2 dir

Vector2 addVelocity

Boolean mirrorBulletAngles

Single sizeMultiplier

Single opacityMultiplier

Int32 bulletNum

Int32 level

Boolean forceLegacyBullet

Player targetPlayer