Show / Hide Table of Contents

    Class ServerPlayer

    This class represents a player instance

    Inheritance
    System.Object
    ServerPlayer
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Engine.Player
    Assembly: Engine.Player.dll
    Syntax
    public class ServerPlayer

    Methods

    GetPlayerAgent()

    Returns the navmeshagent component on the game object

    Declaration
    public NavMeshAgent GetPlayerAgent()
    Returns
    Type Description
    UnityEngine.AI.NavMeshAgent

    GetPlayerGameObject()

    Returns the server sided player game object

    Declaration
    public GameObject GetPlayerGameObject()
    Returns
    Type Description
    UnityEngine.GameObject
    Back to top Elavad Documentation