Ejemplo n.º 1
0
        public void SetUp()
        {
            var prefab = Resources.Load <SectionSceneGeneralSettingsView>(SectionSceneGeneralSettingsController.VIEW_PREFAB_PATH);

            view       = Object.Instantiate(prefab);
            controller = new SectionSceneGeneralSettingsController(view);
        }
 public SectionSceneGeneralSettingsController(SectionSceneGeneralSettingsView view)
 {
     this.view            = view;
     view.OnApplyChanges += OnApplyChanges;
 }