/// <summary> /// use through button /// </summary> public void OnAdd(PickColorController pickColorController) { if (!Initialized) { Debug.LogError("Need Init"); return; } pickColorController.ShowPanel(true, OnSetColorAndCreate); }
/// <summary> /// use through button /// </summary> public void OnModify(PickColorController pickColorController) { if (!Initialized) { Debug.LogError("Need Init"); return; } if (SelectedColorInventoryItem == null) { return; } pickColorController.ShowPanel(true, OnSetColor); }