更改文件架构

This commit is contained in:
CortexCore
2023-06-07 18:38:07 +08:00
parent 93292b1a59
commit ed84166723
720 changed files with 297 additions and 65 deletions

View File

@@ -0,0 +1,10 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit
{
public abstract class FormatData : Provider<string>
{
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1f6f9aa0da2cb394aa4000feb228f472
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,24 @@
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);
}
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bd91a5a5e9a329246b564d409a85fd36
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: