C# Class AIRotate, Obsolete

Inheritance: MonoBehaviour
ファイルを表示 Open project: Orihaus/Obsolete Class Usage Examples

Public Properties

Property Type Description
AvoidDistance float
AvoidFoV float
ForwardDirection Vector3
LockYRotation bool
LookAway bool
Offset Vector3
PlayerVisDistance float
PreferedHeight float
Speed float
Target Transform

Public Methods

Method Description
FixedUpdate ( ) : void
Turn ( Vector3 targetDir, bool AllowLockY = false ) : void

Private Methods

Method Description
RayTest ( Vector3 rayDirection, float distance ) : bool

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Turn() public method

public Turn ( Vector3 targetDir, bool AllowLockY = false ) : void
targetDir Vector3
AllowLockY bool
return void

Property Details

AvoidDistance public_oe property

public float AvoidDistance
return float

AvoidFoV public_oe property

public float AvoidFoV
return float

ForwardDirection public_oe property

public Vector3 ForwardDirection
return Vector3

LockYRotation public_oe property

public bool LockYRotation
return bool

LookAway public_oe property

public bool LookAway
return bool

Offset public_oe property

public Vector3 Offset
return Vector3

PlayerVisDistance public_oe property

public float PlayerVisDistance
return float

PreferedHeight public_oe property

public float PreferedHeight
return float

Speed public_oe property

public float Speed
return float

Target public_oe property

public Transform Target
return Transform