C# Class PartProduction

Inheritance: NetworkBehaviour
Exibir arquivo Open project: drakelinglabs/unityarmada Class Usage Examples

Public Properties

Property Type Description
partPrefab GameObject

Public Methods

Method Description
MakePart ( Vector2 offset, Vector2 pos, float angle, int team = -1 ) : void
PartSpawned ( SimpleNetworkedMonoBehavior part ) : void
ProducePart ( GameInfo, gameInfo, GameObject myGO, int amount = 1 ) : void
Start ( ) : void

Method Details

MakePart() public method

public MakePart ( Vector2 offset, Vector2 pos, float angle, int team = -1 ) : void
offset Vector2
pos Vector2
angle float
team int
return void

PartSpawned() public method

public PartSpawned ( SimpleNetworkedMonoBehavior part ) : void
part SimpleNetworkedMonoBehavior
return void

ProducePart() public method

public ProducePart ( GameInfo, gameInfo, GameObject myGO, int amount = 1 ) : void
gameInfo GameInfo,
myGO GameObject
amount int
return void

Start() public method

public Start ( ) : void
return void

Property Details

partPrefab public_oe property

public GameObject partPrefab
return GameObject