private void Start() { toggle.onValueChanged.AddListener((bool value) => ActivePanel(panel, value)); toggle.onValueChanged.AddListener((bool value) => hexMapEditor.SetColor(colorIndex, value)); toggle.onValueChanged.AddListener((bool value) => hexMapEditor.SetAllHints()); }
private void Start() { toggle.onValueChanged.AddListener((bool value) => hexMapEditor.AddNonNullHintLabel(nonNullHintIndex, value)); toggle.onValueChanged.AddListener((bool value) => hexMapEditor.SetAllHints()); }