public static IContext NewDefaultContext( UnityFSMCodeGenerator.Examples.IAudioControl audioControl, State startState = START_STATE) { return(new DefaultContext { State = startState, AudioControl = audioControl, }); }
public static IContext NewDefaultContext( UnityFSMCodeGenerator.Examples.IAudioControl audioControl, UnityFSMCodeGenerator.Examples.IHaptics haptics, UnityFSMCodeGenerator.Examples.ITelephone telephone, State startState = START_STATE) { return(new DefaultContext { State = startState, AudioControl = audioControl, Haptics = haptics, Telephone = telephone, }); }