示例#1
0
 public LeftPanelHud(Transform content, EventService eventService, LevelActionExecutor executor, Action onDelete, Action onSave, Action onBack, Action onClone)
 {
     go = content.gameObject;
     this.eventService = eventService;
     this.executor = executor;
     state = LeftPanelViewState.Hidden;
     setData(onDelete, onSave, onBack, onClone);
 }
示例#2
0
 void changeStateAndUpdateView()
 {
     state = state == LeftPanelViewState.Hidden ? LeftPanelViewState.Shown : LeftPanelViewState.Hidden;
     updateView();
 }