C# 클래스 Common.NpcEntityController

상속: MonoBehaviour, Common.GameEntityController
파일 보기 프로젝트 열기: gamemachine/gamemachine

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
RotateTowards ( Common.Vector3 dir ) : void

비공개 메소드들

메소드 설명
AgentUpdate ( ) : void
RemoteUpdate ( Common.Vector3 targetPosition ) : void
SetAnimation ( AnimationName name ) : void
UpdateAnimations ( float distanceToTarget ) : void

메소드 상세

AtEndOfPath() 공개 메소드

public AtEndOfPath ( ) : bool
리턴 bool

GetPlayerSpeed() 공개 메소드

public GetPlayerSpeed ( ) : float
리턴 float

IsInitialized() 공개 메소드

public IsInitialized ( ) : bool
리턴 bool

ManualUpdate() 공개 메소드

public ManualUpdate ( ) : void
리턴 void

MoveOnPlatform() 공개 메소드

public MoveOnPlatform ( ) : void
리턴 void

OnBoat() 공개 메소드

public OnBoat ( ) : bool
리턴 bool

PlatformPostCalc() 공개 메소드

public PlatformPostCalc ( ) : void
리턴 void

RotateTowards() 보호된 메소드

protected RotateTowards ( Common.Vector3 dir ) : void
dir Common.Vector3
리턴 void

ServerMove() 공개 메소드

public ServerMove ( float y, float spd, Common.Vector3 targetPosition ) : void
y float
spd float
targetPosition Common.Vector3
리턴 void

SetAgentTarget() 공개 메소드

public SetAgentTarget ( Common.Vector3 agentTarget ) : void
agentTarget Common.Vector3
리턴 void

SetNetworkFields() 공개 메소드

public SetNetworkFields ( Common.NetworkFields networkFields ) : void
networkFields Common.NetworkFields
리턴 void

SetPlayerSpeed() 공개 메소드

public SetPlayerSpeed ( float speed ) : void
speed float
리턴 void

SetTargetTransform() 공개 메소드

public SetTargetTransform ( Common.Transform targetTransform ) : void
targetTransform Common.Transform
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

프로퍼티 상세

activePlatform 공개적으로 프로퍼티

public Transform,Common activePlatform
리턴 Common.Transform

agent 공개적으로 프로퍼티

public NavMeshAgent agent
리턴 NavMeshAgent

agentTarget 공개적으로 프로퍼티

public Vector3,Common agentTarget
리턴 Common.Vector3

antiBump 공개적으로 프로퍼티

public float antiBump
리턴 float

backSpeed 공개적으로 프로퍼티

public float backSpeed
리턴 float

controllingBoat 공개적으로 프로퍼티

public bool controllingBoat
리턴 bool

gameEntity 공개적으로 프로퍼티

public IGameEntity gameEntity
리턴 IGameEntity

gravity 공개적으로 프로퍼티

public float gravity
리턴 float

jumpPower 공개적으로 프로퍼티

public float jumpPower
리턴 float

lastPosition 공개적으로 프로퍼티

public Vector3,Common lastPosition
리턴 Common.Vector3

moveSpeed 공개적으로 프로퍼티

public float moveSpeed
리턴 float

onBoat 공개적으로 프로퍼티

public bool onBoat
리턴 bool

pathEndThreshold 공개적으로 프로퍼티

public float pathEndThreshold
리턴 float

playerSpeed 공개적으로 프로퍼티

public float playerSpeed
리턴 float

runSpeed 공개적으로 프로퍼티

public float runSpeed
리턴 float

serverTarget 공개적으로 프로퍼티

public Vector3,Common serverTarget
리턴 Common.Vector3

slopeLimit 공개적으로 프로퍼티

public float slopeLimit
리턴 float

speed 공개적으로 프로퍼티

public float speed
리턴 float

stopped 공개적으로 프로퍼티

public bool stopped
리턴 bool

swimJumpSpeed 공개적으로 프로퍼티

public float swimJumpSpeed
리턴 float

swimLevel 공개적으로 프로퍼티

public float swimLevel
리턴 float

swimSpeed 공개적으로 프로퍼티

public float swimSpeed
리턴 float

swimming 공개적으로 프로퍼티

public bool swimming
리턴 bool

targetTransform 공개적으로 프로퍼티

public Transform,Common targetTransform
리턴 Common.Transform

turnSpeed 공개적으로 프로퍼티

public float turnSpeed
리턴 float

updateAgentDestination 공개적으로 프로퍼티

public bool updateAgentDestination
리턴 bool

useNavmesh 공개적으로 프로퍼티

public bool useNavmesh
리턴 bool

walkSpeed 공개적으로 프로퍼티

public float walkSpeed
리턴 float