⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class SpawnPoint

    Inheritance
    Object
    MonoBehaviour
    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()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class SpawnPoint : MonoBehaviour

    Fields

    group

    Declaration
    public OrderedSpawnPointGroup group
    Field Value
    Type Description
    OrderedSpawnPointGroup

    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

    spawnTransform

    Declaration
    public Transform spawnTransform { get; }
    Property Value
    Type Description
    Transform

    up

    Declaration
    public Vector3 up { get; }
    Property Value
    Type Description
    Vector3

    Methods

    Awake()

    Declaration
    protected void Awake()

    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
    Type Name Description
    ICharacter prototype
    NeoSerializedScene scene
    Returns
    Type Description
    ICharacter

    OnDisable()

    Declaration
    protected void OnDisable()

    OnEnable()

    Declaration
    protected void OnEnable()

    OnValidate()

    Declaration
    protected void OnValidate()

    Register()

    Declaration
    public void Register()

    SpawnCharacter(ICharacter, IController, Boolean, NeoSerializedScene)

    Declaration
    public virtual ICharacter SpawnCharacter(ICharacter characterPrototype, IController player, bool force = false, NeoSerializedScene scene = null)
    Parameters
    Type Name Description
    ICharacter characterPrototype
    IController player
    System.Boolean force
    NeoSerializedScene scene
    Returns
    Type Description
    ICharacter

    Unregister()

    Declaration
    public void Unregister()

    Events

    onSpawn

    Declaration
    public event UnityAction onSpawn
    Event Type
    Type Description
    UnityAction
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX