C# Class SteeringBehaviorAsset, SanityEngine

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: tosos/SanityEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
behaviors BehaviorDef[]
properties SteeringProperty[]

Méthodes publiques

Méthode 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 méthode

public AddBehavior ( BehaviorDef behavior ) : void
behavior BehaviorDef
Résultat void

AddProperty() public méthode

public AddProperty ( SteeringProperty prop ) : void
prop SteeringProperty
Résultat void

CountUsed() public méthode

public CountUsed ( string name ) : int
name string
Résultat int

ParseVector2() public static méthode

public static ParseVector2 ( string val ) : Vector2
val string
Résultat Vector2

ParseVector3() public static méthode

public static ParseVector3 ( string val ) : Vector3
val string
Résultat Vector3

ParseVector4() public static méthode

public static ParseVector4 ( string val ) : Vector4
val string
Résultat Vector4

RemoveBehavior() public méthode

public RemoveBehavior ( int idx ) : void
idx int
Résultat void

RemoveProperty() public méthode

public RemoveProperty ( int idx ) : void
idx int
Résultat void

RemoveProperty() public méthode

public RemoveProperty ( string name ) : void
name string
Résultat void

RemoveUnused() public méthode

public RemoveUnused ( ) : void
Résultat void

RenameProperty() public méthode

public RenameProperty ( string oldName, string newName ) : void
oldName string
newName string
Résultat void

SteeringBehaviorAsset() public méthode

public SteeringBehaviorAsset ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Property Details

behaviors public_oe property

public BehaviorDef[] behaviors
Résultat BehaviorDef[]

properties public_oe property

public SteeringProperty[] properties
Résultat SteeringProperty[]