public static BehaviourExecuterBase GetPlotDialogueUIExecuter(PlotDialogueBehaviour behaviour) { if (CreatPlotDialogueUiExecuter == null) { return(null); } BehaviourExecuterBase dialogueUiExecuter = CreatPlotDialogueUiExecuter(); if (dialogueUiExecuter == null) { return(null); } dialogueUiExecuter.behaviour = behaviour; return(dialogueUiExecuter); }
public override void OnPlayableCreate(Playable playable) { base.OnPlayableCreate(playable); dialoguePlayable = behaviour as PlotDialogueBehaviour; }