using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace VketCloudGUITools.Runtime { public class SoundMixerGUIAction : GUIAction { public override string FuncName { get => _funcName; set => _funcName = value; } public override string ActionName { get => _funcName; set => _funcName = value; } public bool VolumeMuteFlag { get => _volumeMuteFlag; set => _volumeMuteFlag = value; } public override Dictionary GetActionValues { get { var dict = new Dictionary(); dict.Add("Name", _funcName); dict.Add("VolumeMuteFlag", _volumeMuteFlag); return dict; } } public override string GetDebugInfo() { return $"{FuncName}/{ActionName}(VolumeMuteFlag:{VolumeMuteFlag})"; } [SerializeField] private string _funcName = string.Empty; [SerializeField] private bool _volumeMuteFlag = false; public override object Clone() { var clone = CreateInstance(); clone.ActionName = ActionName; clone.VolumeMuteFlag = VolumeMuteFlag; return clone; } } }