public ActionArgs WithFile(string name) { if (name == null) { return(this); } args.Add(ActionArg <string> .FileArgumentNamed(name, string.Empty)); return(this); }
public ActionArgs WithColor <T>(string name, T defaultValue) { if (name == null) { return(this); } args.Add(ActionArg <T> .ColorArgumentNamed(name, defaultValue)); return(this); }
public ActionArgs WithColor(string name, UnityEngine.Color defaultValue) { if (name == null) { return(this); } long value = Util.ColorToInt(defaultValue); args.Add(ActionArg <long> .ColorArgumentNamed(name, value)); return(this); }