Class SpawnPoint
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()
Assembly: NeoFPS.dll
Syntax
public class SpawnPoint : MonoBehaviour
Fields
group
Declaration
public OrderedSpawnPointGroup group
Field Value
Properties
cooldownActive
Declaration
public bool cooldownActive { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
registered
Declaration
public bool registered { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
rotation
Declaration
public Quaternion rotation { get; }
Property Value
| Type |
Description |
| Quaternion |
|
Declaration
public Transform spawnTransform { get; }
Property Value
| Type |
Description |
| Transform |
|
up
Declaration
public Vector3 up { get; }
Property Value
Methods
Awake()
Declaration
CanSpawnCharacter()
Declaration
public virtual bool CanSpawnCharacter()
Returns
| Type |
Description |
| System.Boolean |
|
CreateCharacterFromPrototype(ICharacter, NeoSerializedScene)
Declaration
protected virtual ICharacter CreateCharacterFromPrototype(ICharacter prototype, NeoSerializedScene scene = null)
Parameters
Returns
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()
Register()
Declaration
SpawnCharacter(ICharacter, IController, Boolean, NeoSerializedScene)
Declaration
public virtual ICharacter SpawnCharacter(ICharacter characterPrototype, IController player, bool force = false, NeoSerializedScene scene = null)
Parameters
Returns
Unregister()
Declaration
Events
onSpawn
Declaration
public event UnityAction onSpawn
Event Type
| Type |
Description |
| UnityAction |
|