Example #1
0
        public static DialogColorPicker ShowDialogColorPicker()
        {
            DialogColorPicker dialog = PrefabManager.InstantiateGameObject(PrefabManager.ResourcePrefabs.dialogColorPicker, instance.transform).GetComponent <DialogColorPicker>();

            dialog.Initialize();
            dialog.Show();
            return(dialog);
        }
Example #2
0
        public override void Execute()
        {
            DialogColorPicker dialogColorPicker = DialogManager.ShowDialogColorPicker();

            dialogColorPicker.Initialize(BrushService.GetBrushEmissionColor(), OnColorSelected);
        }
Example #3
0
        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);
        }