C# Class BobbitBrain

Inheritance: MonoBehaviour
Datei anzeigen Open project: jsngai/deepsquid Class Usage Examples

Public Properties

Property Type Description
debugStatements bool
hideDist float
huntT float
message string
range float
state string
swimA float
swimF float
swimT float
vel float

Public Methods

Method Description
OnParticleCollision ( GameObject o ) : void
Start ( ) : void
Update ( ) : void
attack ( ) : void
fixRotation ( Vector3 heading, Vector3 target ) : void
follow ( ) : void
patrol ( ) : void
sneek ( ) : void

Private Methods

Method Description
angleBetween ( Vector3 from, Vector3 to, string axis ) : float

Method Details

OnParticleCollision() public method

public OnParticleCollision ( GameObject o ) : void
o GameObject
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

attack() public method

public attack ( ) : void
return void

fixRotation() public method

public fixRotation ( Vector3 heading, Vector3 target ) : void
heading Vector3
target Vector3
return void

follow() public method

public follow ( ) : void
return void

patrol() public method

public patrol ( ) : void
return void

sneek() public method

public sneek ( ) : void
return void

Property Details

debugStatements public_oe property

public bool debugStatements
return bool

hideDist public_oe property

public float hideDist
return float

huntT public_oe property

public float huntT
return float

message public_oe property

public string message
return string

range public_oe property

public float range
return float

state public_oe property

public string state
return string

swimA public_oe property

public float swimA
return float

swimF public_oe property

public float swimF
return float

swimT public_oe property

public float swimT
return float

vel public_oe property

public float vel
return float