Skip to content

GameStage.SpawnUnit Method

Namespace: SpaceUsurper

Overloads

SpawnUnit(String, Vector2, Vector2, Direction, Player)

Parameters

String name

Vector2 pos

Vector2 force

Direction facingDir

Player targetPlayer

SpawnUnit(DataPath<UnitData>, Vector2, Vector2, Direction, Player)

Parameters

DataPath<UnitData> path

Vector2 pos

Vector2 force

Direction facingDir

Player targetPlayer