Skip to main content

Class AICommandTrack

Custom track for creating and holding AICommandClip.

public class AICommandTrack : TrackAsset

Inheritance​

TrackAsset→AICommandTrack

Methods​

CreateTrackMixer(PlayableGraph, GameObject, int)​

Creates a mixer playable for the AI commands track. Also update each clip inside the track to match their command type.

public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)

Parameters​

NameTypeDescription
graphPlayableGraphThe PlayableGraph to create the mixer in.
goGameObjectThe GameObject to associate with the mixer.
inputCountintThe number of inputs to the mixer.

Returns​

Playable — The created ScriptPlayable for AI commands mixing.

  • Methods
    • CreateTrackMixer(PlayableGraph, GameObject, int)