private void AddToActionList(List <SetEnabledOnDialogueEvent.SetEnabledAction> actions, MonoBehaviour component, Toggle state) { SetEnabledOnDialogueEvent.SetEnabledAction newAction = new SetEnabledOnDialogueEvent.SetEnabledAction(); newAction.state = state; newAction.target = component; actions.Add(newAction); }
private void AddToActionList(List<SetEnabledOnDialogueEvent.SetEnabledAction> actions, MonoBehaviour component, Toggle state) { SetEnabledOnDialogueEvent.SetEnabledAction newAction = new SetEnabledOnDialogueEvent.SetEnabledAction(); newAction.state = state; newAction.target = component; actions.Add(newAction); }