public static DialogColorPicker ShowDialogColorPicker() { DialogColorPicker dialog = PrefabManager.InstantiateGameObject(PrefabManager.ResourcePrefabs.dialogColorPicker, instance.transform).GetComponent <DialogColorPicker>(); dialog.Initialize(); dialog.Show(); return(dialog); }
public override void Execute() { DialogColorPicker dialogColorPicker = DialogManager.ShowDialogColorPicker(); dialogColorPicker.Initialize(BrushService.GetBrushEmissionColor(), OnColorSelected); }
public override void Execute() { DialogColorPicker dialogColorPicker = DialogManager.ShowDialogColorPicker(); dialogColorPicker.Initialize(BackgroundService.GetTopBackgroundColor(), OnColorSelected); }
public override void Execute() { DialogColorPicker dialogColorPicker = DialogManager.ShowDialogColorPicker(); dialogColorPicker.Initialize(Value.EmissionColor, OnColorSelected); }