Class SpawnPoint
Defines item spawn properties.
public abstract class SpawnPoint : IPosition
- Inheritance
-
SpawnPoint
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
Chance
Gets or sets the spawn chance.
public abstract float Chance { get; set; }
Property Value
Name
Gets or sets this spawn point name.
public abstract string Name { get; set; }
Property Value
Position
Gets or sets this spawn point position.
public abstract Vector3 Position { get; set; }
Property Value
- Vector3
Methods
Deconstruct(out float, out Vector3)
Deconstructs the class into usable variables.
public void Deconstruct(out float chance, out Vector3 position)
Parameters
chance
floatposition
Vector3