Struct FlingInfo
Contains all the needed information for spawning a fling effect
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public struct FlingInfo
Fields
| Edit this page View SourceAngleMax
The maximum spawn angle of a fling
Declaration
public float AngleMax
Field Value
Type | Description |
---|---|
float |
AngleMin
The minimum spawn angle of a fling
Declaration
public float AngleMin
Field Value
Type | Description |
---|---|
float |
OriginVariationX
The origin variation of a fling along the x-axis
Declaration
public float OriginVariationX
Field Value
Type | Description |
---|---|
float |
OriginVariationY
The origin variation of a fling along the y-axis
Declaration
public float OriginVariationY
Field Value
Type | Description |
---|---|
float |
Prefab
The prefab to spawn
Declaration
public GameObject Prefab
Field Value
Type | Description |
---|---|
GameObject |
PrefabAmountMax
The maximum amount of prefabs to spawn for a fling
Declaration
public int PrefabAmountMax
Field Value
Type | Description |
---|---|
int |
PrefabAmountMin
The minimum amount of prefabs to spawn for a fling
Declaration
public int PrefabAmountMin
Field Value
Type | Description |
---|---|
int |
VelocityMax
The maximum spawn velocity of a fling
Declaration
public float VelocityMax
Field Value
Type | Description |
---|---|
float |
VelocityMin
The minimum spawn velocity of the fling
Declaration
public float VelocityMin
Field Value
Type | Description |
---|---|
float |