C# Class ObjectSpawner

Inheritance: MonoBehaviour
显示文件 Open project: LelandLL/slicer Class Usage Examples

Public Properties

Property Type Description
forceMultiplier float
leftSpawnPoint Transform
maxTime float
midSpawnPoint Transform
objectContainer Transform
pointObjectPrefabs GameObject[]
pointObjectSpawnWeights int[]
pointSpawnRateOverTime UnityEngine.AnimationCurve
rightSpawnPoint Transform
throwTargets Vector2[]

Public Methods

Method Description
SpawnPointObject ( int pointObject ) : void

Private Methods

Method Description
GetSpawnLocation ( int val ) : Vector3
SpawnLoop ( ) : IEnumerator

Method Details

SpawnPointObject() public method

public SpawnPointObject ( int pointObject ) : void
pointObject int
return void

Property Details

forceMultiplier public_oe property

public float forceMultiplier
return float

leftSpawnPoint public_oe property

public Transform leftSpawnPoint
return Transform

maxTime public_oe property

public float maxTime
return float

midSpawnPoint public_oe property

public Transform midSpawnPoint
return Transform

objectContainer public_oe property

public Transform objectContainer
return Transform

pointObjectPrefabs public_oe property

public GameObject[] pointObjectPrefabs
return GameObject[]

pointObjectSpawnWeights public_oe property

public int[] pointObjectSpawnWeights
return int[]

pointSpawnRateOverTime public_oe property

public AnimationCurve,UnityEngine pointSpawnRateOverTime
return UnityEngine.AnimationCurve

rightSpawnPoint public_oe property

public Transform rightSpawnPoint
return Transform

throwTargets public_oe property

public Vector2[] throwTargets
return Vector2[]