C# Class Common.NpcEntityController

Inheritance: MonoBehaviour, Common.GameEntityController
Afficher le fichier Open project: gamemachine/gamemachine

Méthodes publiques

Свойство Type Description
activePlatform Common.Transform
agent NavMeshAgent
agentTarget Common.Vector3
antiBump float
backSpeed float
controllingBoat bool
gameEntity IGameEntity
gravity float
jumpPower float
lastPosition Common.Vector3
moveSpeed float
onBoat bool
pathEndThreshold float
playerSpeed float
runSpeed float
serverTarget Common.Vector3
slopeLimit float
speed float
stopped bool
swimJumpSpeed float
swimLevel float
swimSpeed float
swimming bool
targetTransform Common.Transform
turnSpeed float
updateAgentDestination bool
useNavmesh bool
walkSpeed float

Méthodes publiques

Méthode Description
AtEndOfPath ( ) : bool
GetPlayerSpeed ( ) : float
IsInitialized ( ) : bool
ManualUpdate ( ) : void
MoveOnPlatform ( ) : void
OnBoat ( ) : bool
PlatformPostCalc ( ) : void
ServerMove ( float y, float spd, Common.Vector3 targetPosition ) : void
SetAgentTarget ( Common.Vector3 agentTarget ) : void
SetNetworkFields ( Common.NetworkFields networkFields ) : void
SetPlayerSpeed ( float speed ) : void
SetTargetTransform ( Common.Transform targetTransform ) : void
Start ( ) : void

Méthodes protégées

Méthode Description
RotateTowards ( Common.Vector3 dir ) : void

Private Methods

Méthode Description
AgentUpdate ( ) : void
RemoteUpdate ( Common.Vector3 targetPosition ) : void
SetAnimation ( AnimationName name ) : void
UpdateAnimations ( float distanceToTarget ) : void

Method Details

AtEndOfPath() public méthode

public AtEndOfPath ( ) : bool
Résultat bool

GetPlayerSpeed() public méthode

public GetPlayerSpeed ( ) : float
Résultat float

IsInitialized() public méthode

public IsInitialized ( ) : bool
Résultat bool

ManualUpdate() public méthode

public ManualUpdate ( ) : void
Résultat void

MoveOnPlatform() public méthode

public MoveOnPlatform ( ) : void
Résultat void

OnBoat() public méthode

public OnBoat ( ) : bool
Résultat bool

PlatformPostCalc() public méthode

public PlatformPostCalc ( ) : void
Résultat void

RotateTowards() protected méthode

protected RotateTowards ( Common.Vector3 dir ) : void
dir Common.Vector3
Résultat void

ServerMove() public méthode

public ServerMove ( float y, float spd, Common.Vector3 targetPosition ) : void
y float
spd float
targetPosition Common.Vector3
Résultat void

SetAgentTarget() public méthode

public SetAgentTarget ( Common.Vector3 agentTarget ) : void
agentTarget Common.Vector3
Résultat void

SetNetworkFields() public méthode

public SetNetworkFields ( Common.NetworkFields networkFields ) : void
networkFields Common.NetworkFields
Résultat void

SetPlayerSpeed() public méthode

public SetPlayerSpeed ( float speed ) : void
speed float
Résultat void

SetTargetTransform() public méthode

public SetTargetTransform ( Common.Transform targetTransform ) : void
targetTransform Common.Transform
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Property Details

activePlatform public_oe property

public Transform,Common activePlatform
Résultat Common.Transform

agent public_oe property

public NavMeshAgent agent
Résultat NavMeshAgent

agentTarget public_oe property

public Vector3,Common agentTarget
Résultat Common.Vector3

antiBump public_oe property

public float antiBump
Résultat float

backSpeed public_oe property

public float backSpeed
Résultat float

controllingBoat public_oe property

public bool controllingBoat
Résultat bool

gameEntity public_oe property

public IGameEntity gameEntity
Résultat IGameEntity

gravity public_oe property

public float gravity
Résultat float

jumpPower public_oe property

public float jumpPower
Résultat float

lastPosition public_oe property

public Vector3,Common lastPosition
Résultat Common.Vector3

moveSpeed public_oe property

public float moveSpeed
Résultat float

onBoat public_oe property

public bool onBoat
Résultat bool

pathEndThreshold public_oe property

public float pathEndThreshold
Résultat float

playerSpeed public_oe property

public float playerSpeed
Résultat float

runSpeed public_oe property

public float runSpeed
Résultat float

serverTarget public_oe property

public Vector3,Common serverTarget
Résultat Common.Vector3

slopeLimit public_oe property

public float slopeLimit
Résultat float

speed public_oe property

public float speed
Résultat float

stopped public_oe property

public bool stopped
Résultat bool

swimJumpSpeed public_oe property

public float swimJumpSpeed
Résultat float

swimLevel public_oe property

public float swimLevel
Résultat float

swimSpeed public_oe property

public float swimSpeed
Résultat float

swimming public_oe property

public bool swimming
Résultat bool

targetTransform public_oe property

public Transform,Common targetTransform
Résultat Common.Transform

turnSpeed public_oe property

public float turnSpeed
Résultat float

updateAgentDestination public_oe property

public bool updateAgentDestination
Résultat bool

useNavmesh public_oe property

public bool useNavmesh
Résultat bool

walkSpeed public_oe property

public float walkSpeed
Résultat float