C# Class SteeringBehaviorAsset, SanityEngine

Inheritance: UnityEngine.ScriptableObject
Show file Open project: tosos/SanityEngine Class Usage Examples

Public Properties

Property Type Description
behaviors BehaviorDef[]
properties SteeringProperty[]

Public Methods

Method Description
AddBehavior ( BehaviorDef behavior ) : void
AddProperty ( SteeringProperty prop ) : void
CountUsed ( string name ) : int
ParseVector2 ( string val ) : Vector2
ParseVector3 ( string val ) : Vector3
ParseVector4 ( string val ) : Vector4
RemoveBehavior ( int idx ) : void
RemoveProperty ( int idx ) : void
RemoveProperty ( string name ) : void
RemoveUnused ( ) : void
RenameProperty ( string oldName, string newName ) : void
SteeringBehaviorAsset ( ) : System.Collections.Generic

Method Details

AddBehavior() public method

public AddBehavior ( BehaviorDef behavior ) : void
behavior BehaviorDef
return void

AddProperty() public method

public AddProperty ( SteeringProperty prop ) : void
prop SteeringProperty
return void

CountUsed() public method

public CountUsed ( string name ) : int
name string
return int

ParseVector2() public static method

public static ParseVector2 ( string val ) : Vector2
val string
return Vector2

ParseVector3() public static method

public static ParseVector3 ( string val ) : Vector3
val string
return Vector3

ParseVector4() public static method

public static ParseVector4 ( string val ) : Vector4
val string
return Vector4

RemoveBehavior() public method

public RemoveBehavior ( int idx ) : void
idx int
return void

RemoveProperty() public method

public RemoveProperty ( int idx ) : void
idx int
return void

RemoveProperty() public method

public RemoveProperty ( string name ) : void
name string
return void

RemoveUnused() public method

public RemoveUnused ( ) : void
return void

RenameProperty() public method

public RenameProperty ( string oldName, string newName ) : void
oldName string
newName string
return void

SteeringBehaviorAsset() public method

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

Property Details

behaviors public property

public BehaviorDef[] behaviors
return BehaviorDef[]

properties public property

public SteeringProperty[] properties
return SteeringProperty[]