Class SpawnPoint
Defines item spawn properties.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.Spawn
Assembly: Exiled.API.dll
Syntax
public abstract class SpawnPoint : IPosition
Properties
| Improve this Doc View SourceChance
Gets or sets the spawn chance.
Declaration
public abstract float Chance { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Name
Gets or sets this spawn point name.
Declaration
public abstract string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Position
Gets or sets this spawn point position.
Declaration
public abstract Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Methods
| Improve this Doc View SourceDeconstruct(out Single, out Vector3)
Deconstructs the class into usable variables.
Declaration
public void Deconstruct(out float chance, out Vector3 position)
Parameters
Type | Name | Description |
---|---|---|
System.Single | chance | |
UnityEngine.Vector3 | position |