C# Class AIMover, RPGQuest

Inheritance: MonoBehaviour
显示文件 Open project: hughrogers/RPGQuest

Public Properties

Property Type Description
autoRespawn bool
changeTimeout float
giveWay bool
giveWayDistance float
gravity float
ignoreYDistance bool
minFollowDistance float
moveAway bool
moveDead bool
patrolRadius float
patrolTime float
playerDistance float
randomPatrol bool
respawnDistance float
runSpeed float
speedSmoothing float
useCombatantSpeed bool
waypointTime float

Public Methods

Method Description
CheckNextWaypoint ( ) : void
RandomWaypoint ( ) : void
SetDirection ( Vector3 pos ) : void
SetRoute ( float t, GameObject wp ) : void
SetTarget ( GameObject t ) : void
Start ( ) : void
StopFollow ( bool stop ) : void
StopMove ( ) : void
Update ( ) : void

Method Details

CheckNextWaypoint() public method

public CheckNextWaypoint ( ) : void
return void

RandomWaypoint() public method

public RandomWaypoint ( ) : void
return void

SetDirection() public method

public SetDirection ( Vector3 pos ) : void
pos Vector3
return void

SetRoute() public method

public SetRoute ( float t, GameObject wp ) : void
t float
wp GameObject
return void

SetTarget() public method

public SetTarget ( GameObject t ) : void
t GameObject
return void

Start() public method

public Start ( ) : void
return void

StopFollow() public method

public StopFollow ( bool stop ) : void
stop bool
return void

StopMove() public method

public StopMove ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

autoRespawn public_oe property

public bool autoRespawn
return bool

changeTimeout public_oe property

public float changeTimeout
return float

giveWay public_oe property

public bool giveWay
return bool

giveWayDistance public_oe property

public float giveWayDistance
return float

gravity public_oe property

public float gravity
return float

ignoreYDistance public_oe property

public bool ignoreYDistance
return bool

minFollowDistance public_oe property

public float minFollowDistance
return float

moveAway public_oe property

public bool moveAway
return bool

moveDead public_oe property

public bool moveDead
return bool

patrolRadius public_oe property

public float patrolRadius
return float

patrolTime public_oe property

public float patrolTime
return float

playerDistance public_oe property

public float playerDistance
return float

randomPatrol public_oe property

public bool randomPatrol
return bool

respawnDistance public_oe property

public float respawnDistance
return float

runSpeed public_oe property

public float runSpeed
return float

speedSmoothing public_oe property

public float speedSmoothing
return float

useCombatantSpeed public_oe property

public bool useCombatantSpeed
return bool

waypointTime public_oe property

public float waypointTime
return float