BITKit/Packages/Runtime~/Unity/Scripts/Components/Format/FormatDataToKeyValue.cs

24 lines
647 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit
{
public class FormatDataToKeyValue : FormatData
{
[SubclassSelector, SerializeReference] public References key;
public Provider output;
Dictionary<string, string> dictionary = new();
public override string Get()
{
throw new System.NotImplementedException();
}
public override void Set(string value)
{
WWWForm form = new();
form.AddField("key", key);
form.AddField("value", value);
output?.Set(form);
}
}
}