// Use this for initialization void Start() { stateManager = new StateManager(); stateManager.StatusChanged += sm_OnStatusChanged; keyboardInput = new KeyboardInput(); keyboardInput.CommandDetected += kd_OnCommandDetected; keywordDetector = this.GetComponent <KeywordDetector> (); keywordDetector.CommandDetected += kd_OnCommandDetected; collection = LoadRecipes(); initializer = new BarInitializer(); setupUI(); }
protected override void Seed(BarContext context) { BarInitializer.SeedBarData(context); }