Method CreatePickup
CreatePickup(PickupType, Vector3, Model, Int32)
Declaration
public static Pickup CreatePickup(PickupType type, Vector3 position, Model model, int value)
Parameters
Type | Name | Description |
---|---|---|
PickupType | type | |
Vector3 | position | |
Model | model | |
System.Int32 | value |
Returns
Type | Description |
---|---|
Pickup |
CreatePickup(PickupType, Vector3, Vector3, Model, Int32)
Declaration
public static Pickup CreatePickup(PickupType type, Vector3 position, Vector3 rotation, Model model, int value)
Parameters
Type | Name | Description |
---|---|---|
PickupType | type | |
Vector3 | position | |
Vector3 | rotation | |
Model | model | |
System.Int32 | value |
Returns
Type | Description |
---|---|
Pickup |