C# Class SteeringBehaviorProxy, SanityEngine

显示文件 Open project: tosos/SanityEngine Class Usage Examples

Public Properties

Property Type Description
behaviors SteeringBehavior[]

Public Methods

Method Description
SetActor ( string name, Actor, val ) : void
SetBool ( string name, bool val ) : void
SetEnabled ( bool enabled ) : void
SetEnabled ( int idx, bool enabled ) : void
SetFloat ( string name, float val ) : void
SetFlock ( string name, Flock val ) : void
SetInt ( string name, int val ) : void
SetString ( string name, string val ) : void
SetVector2 ( string name, Vector2 val ) : void
SetVector3 ( string name, Vector3 val ) : void
SetVector4 ( string name, Vector4 val ) : void
SetWeight ( int idx, float weight ) : void
SetWeightScale ( float weightScale ) : void
SteeringBehaviorProxy ( SteeringBehaviorAsset asset ) : System.Collections.Generic

Private Methods

Method Description
ParseValue ( SteeringBehaviorAsset, t, string val ) : object
SetProperty ( string name, object val ) : void

Method Details

SetActor() public method

public SetActor ( string name, Actor, val ) : void
name string
val Actor,
return void

SetBool() public method

public SetBool ( string name, bool val ) : void
name string
val bool
return void

SetEnabled() public method

public SetEnabled ( bool enabled ) : void
enabled bool
return void

SetEnabled() public method

public SetEnabled ( int idx, bool enabled ) : void
idx int
enabled bool
return void

SetFloat() public method

public SetFloat ( string name, float val ) : void
name string
val float
return void

SetFlock() public method

public SetFlock ( string name, Flock val ) : void
name string
val Flock
return void

SetInt() public method

public SetInt ( string name, int val ) : void
name string
val int
return void

SetString() public method

public SetString ( string name, string val ) : void
name string
val string
return void

SetVector2() public method

public SetVector2 ( string name, Vector2 val ) : void
name string
val Vector2
return void

SetVector3() public method

public SetVector3 ( string name, Vector3 val ) : void
name string
val Vector3
return void

SetVector4() public method

public SetVector4 ( string name, Vector4 val ) : void
name string
val Vector4
return void

SetWeight() public method

public SetWeight ( int idx, float weight ) : void
idx int
weight float
return void

SetWeightScale() public method

public SetWeightScale ( float weightScale ) : void
weightScale float
return void

SteeringBehaviorProxy() public method

public SteeringBehaviorProxy ( SteeringBehaviorAsset asset ) : System.Collections.Generic
asset SteeringBehaviorAsset
return System.Collections.Generic

Property Details

behaviors public_oe property

public SteeringBehavior[] behaviors
return SteeringBehavior[]