public static void HandleTutorial(object sender, GameEventArgs args) { EventManager.OnDialogChoiceMade -= HandleTutorial; if (args.ChoiceAction != null) { args.ChoiceAction(args.DialogueBox, args); } }
public void HandleOnDialogChoiceMade(object sender, GameEventArgs args) { EventManager.OnDialogChoiceMade -= HandleOnDialogChoiceMade; args.ThisGameObject = gameObject; if (args.ChoiceAction != null) { args.ChoiceAction(this, args); } }