구글 스프레드 실시간 연동 기능 추가
This commit is contained in:
parent
2dd7ba851b
commit
4bde2ee226
8
Assets/0.Datas.meta
Normal file
8
Assets/0.Datas.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: af78dfe2e187c9d44b5609609be90d38
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -38,12 +38,12 @@ RenderSettings:
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
serializedVersion: 13
|
||||
m_BakeOnSceneLoad: 0
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
@ -250,12 +250,61 @@ MonoBehaviour:
|
||||
m_RequiresColorTexture: 0
|
||||
m_Version: 2
|
||||
m_TaaSettings:
|
||||
quality: 3
|
||||
frameInfluence: 0.1
|
||||
jitterScale: 1
|
||||
mipBias: 0
|
||||
varianceClampScale: 0.9
|
||||
contrastAdaptiveSharpening: 0
|
||||
m_Quality: 3
|
||||
m_FrameInfluence: 0.1
|
||||
m_JitterScale: 1
|
||||
m_MipBias: 0
|
||||
m_VarianceClampScale: 0.9
|
||||
m_ContrastAdaptiveSharpening: 0
|
||||
--- !u!1 &383092896
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 383092898}
|
||||
- component: {fileID: 383092897}
|
||||
m_Layer: 0
|
||||
m_Name: GoogldSheetManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &383092897
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 383092896}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2631101f894592945a1c50aed7048e66, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
isAccessGoogleSheet: 1
|
||||
googleSheetUrl: https://script.google.com/macros/s/AKfycbw8TRSl_OuY2S-RX0yvOJi1SqNqoflG0R3pWxk9GC9u_wvGQeuABZc0VH7YJ5lMrAl4/exec
|
||||
availSheets: Test/Monster
|
||||
generateFolderPath: /0.Datas/02.Scripts/GenerateGoogleSheet
|
||||
googleSheetSO: {fileID: 11400000, guid: a205d54a1d0f6b447986268e3fe1d668, type: 2}
|
||||
--- !u!4 &383092898
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 383092896}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &410087039
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -336,6 +385,9 @@ Light:
|
||||
m_ForceVisible: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
m_LightUnit: 1
|
||||
m_LuxAtDistance: 1
|
||||
m_EnableSpotReflector: 1
|
||||
--- !u!4 &410087041
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -430,3 +482,4 @@ SceneRoots:
|
||||
- {fileID: 330585546}
|
||||
- {fileID: 410087041}
|
||||
- {fileID: 832575519}
|
||||
- {fileID: 383092898}
|
8
Assets/0.Datas/02.Scripts.meta
Normal file
8
Assets/0.Datas/02.Scripts.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a01934eee8c45cd4f848c5306d7f231a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/0.Datas/02.Scripts/Editor.meta
Normal file
8
Assets/0.Datas/02.Scripts/Editor.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 140c5b11dd5e2c243b7ddc10ddc5b30b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
35
Assets/0.Datas/02.Scripts/Editor/GoogleSheetDiffWindow.cs
Normal file
35
Assets/0.Datas/02.Scripts/Editor/GoogleSheetDiffWindow.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public class GoogleSheetDiffWindow : EditorWindow
|
||||
{
|
||||
private GoogleSheetDiffResult _diff;
|
||||
|
||||
public static void ShowWithDiff(GoogleSheetDiffResult diff)
|
||||
{
|
||||
var window = GetWindow<GoogleSheetDiffWindow>("Sheet Diff");
|
||||
window._diff = diff;
|
||||
window.Show();
|
||||
}
|
||||
|
||||
private void OnGUI()
|
||||
{
|
||||
if (_diff == null)
|
||||
{
|
||||
GUILayout.Label("No diff result yet.");
|
||||
return;
|
||||
}
|
||||
|
||||
GUILayout.Label("\ud83d\udd3c Added", EditorStyles.boldLabel);
|
||||
foreach (var id in _diff.Added)
|
||||
GUILayout.Label($" + {id}");
|
||||
|
||||
GUILayout.Label("\u270f\ufe0f Modified", EditorStyles.boldLabel);
|
||||
foreach (var id in _diff.Modified)
|
||||
GUILayout.Label($" * {id}");
|
||||
|
||||
GUILayout.Label("\ud83d\udd3d Removed", EditorStyles.boldLabel);
|
||||
foreach (var id in _diff.Removed)
|
||||
GUILayout.Label($" - {id}");
|
||||
}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bbe9541a39cf4284babed409264c92ab
|
8
Assets/0.Datas/02.Scripts/GenerateGoogleSheet.meta
Normal file
8
Assets/0.Datas/02.Scripts/GenerateGoogleSheet.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 825dab5b60a39d3459896fb9c7ca878f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>You must approach through `GoogleSheetManager.SO<GoogleSheetSO>()`</summary>
|
||||
public class GoogleSheetSO : ScriptableObject
|
||||
{
|
||||
public List<Test> TestList;
|
||||
public List<Monster> MonsterList;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Test
|
||||
{
|
||||
public string Id;
|
||||
public string Name;
|
||||
public int T1;
|
||||
public int T2;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Monster
|
||||
{
|
||||
public string Id;
|
||||
public string Name;
|
||||
public int T1;
|
||||
}
|
||||
|
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 52c5476425215a341bc2722f655d24fe
|
@ -0,0 +1,50 @@
|
||||
{
|
||||
"Test": [
|
||||
{
|
||||
"Id": "Test001",
|
||||
"Name": "A",
|
||||
"T1": 1,
|
||||
"T2": 234
|
||||
},
|
||||
{
|
||||
"Id": "Test002",
|
||||
"Name": "B",
|
||||
"T1": 2,
|
||||
"T2": 2
|
||||
},
|
||||
{
|
||||
"Id": "Test003",
|
||||
"Name": "C",
|
||||
"T1": 3,
|
||||
"T2": 24142
|
||||
},
|
||||
{
|
||||
"Id": "Test004",
|
||||
"Name": "D",
|
||||
"T1": 4,
|
||||
"T2": 2
|
||||
}
|
||||
],
|
||||
"Monster": [
|
||||
{
|
||||
"Id": "Test001",
|
||||
"Name": "A",
|
||||
"T1": 1
|
||||
},
|
||||
{
|
||||
"Id": "Test002",
|
||||
"Name": "B",
|
||||
"T1": 5345
|
||||
},
|
||||
{
|
||||
"Id": "Test003",
|
||||
"Name": "C",
|
||||
"T1": 3
|
||||
},
|
||||
{
|
||||
"Id": "Test004",
|
||||
"Name": "D",
|
||||
"T1": 4
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f01fadb863b05574a964a6fd1b8da2f9
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,44 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 52c5476425215a341bc2722f655d24fe, type: 3}
|
||||
m_Name: GoogleSheetSO
|
||||
m_EditorClassIdentifier:
|
||||
TestList:
|
||||
- Id: Test001
|
||||
Name: A
|
||||
T1: 1
|
||||
T2: 234
|
||||
- Id: Test002
|
||||
Name: B
|
||||
T1: 2
|
||||
T2: 2
|
||||
- Id: Test003
|
||||
Name: C
|
||||
T1: 3
|
||||
T2: 24142
|
||||
- Id: Test004
|
||||
Name: D
|
||||
T1: 4
|
||||
T2: 2
|
||||
MonsterList:
|
||||
- Id: Test001
|
||||
Name: A
|
||||
T1: 1
|
||||
- Id: Test002
|
||||
Name: B
|
||||
T1: 5345
|
||||
- Id: Test003
|
||||
Name: C
|
||||
T1: 3
|
||||
- Id: Test004
|
||||
Name: D
|
||||
T1: 4
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a205d54a1d0f6b447986268e3fe1d668
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
323
Assets/0.Datas/02.Scripts/GoogldSheetManager.cs
Normal file
323
Assets/0.Datas/02.Scripts/GoogldSheetManager.cs
Normal file
@ -0,0 +1,323 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net.Http;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Reflection;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using UnityEngine;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System.Linq;
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
public class GoogleSheetManager : MonoBehaviour
|
||||
{
|
||||
[FormerlySerializedAs("isAccessGoogleSheet")]
|
||||
[Tooltip("true: google sheet, false: local json")]
|
||||
[SerializeField] private bool _isAccessGoogleSheet = true;
|
||||
|
||||
[FormerlySerializedAs("googleSheetUrl")]
|
||||
[Tooltip("Google sheet appsscript webapp url")]
|
||||
[SerializeField] private string _googleSheetUrl;
|
||||
|
||||
[FormerlySerializedAs("availSheets")]
|
||||
[Tooltip("Google sheet avail sheet tabs. seperate `/`. For example `Sheet1/Sheet2`")]
|
||||
[SerializeField] private string _availSheets = "Sheet1/Sheet2";
|
||||
|
||||
[FormerlySerializedAs("generateFolderPath")]
|
||||
[Tooltip("For example `/GenerateGoogleSheet`")]
|
||||
[SerializeField] private string _generateFolderPath = "/GenerateGoogleSheet";
|
||||
|
||||
[FormerlySerializedAs("googleSheetSO")] [Tooltip("You must approach through `GoogleSheetManager.SO<GoogleSheetSO>()`"), ReadOnly]
|
||||
public ScriptableObject GoogleSheetSo;
|
||||
|
||||
[SerializeField, ReadOnly]
|
||||
private string _lastUpdated;
|
||||
|
||||
private string JsonPath => $"{Application.dataPath}{_generateFolderPath}/GoogleSheetJson.json";
|
||||
private string ClassPath => $"{Application.dataPath}{_generateFolderPath}/GoogleSheetClass.cs";
|
||||
private string SoPath => $"Assets{_generateFolderPath}/GoogleSheetSO.asset";
|
||||
|
||||
private string[] _availSheetArray;
|
||||
private string _json;
|
||||
private bool _refeshTrigger;
|
||||
private static GoogleSheetManager _instance;
|
||||
|
||||
public static T So<T>() where T : ScriptableObject
|
||||
{
|
||||
if (GetInstance().GoogleSheetSo == null)
|
||||
{
|
||||
Debug.Log($"googleSheetSO is null");
|
||||
return null;
|
||||
}
|
||||
|
||||
return GetInstance().GoogleSheetSo as T;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[ContextMenu("FetchGoogleSheet")]
|
||||
private async void FetchGoogleSheet()
|
||||
{
|
||||
//Init
|
||||
_availSheetArray = _availSheets.Split('/');
|
||||
|
||||
if (_isAccessGoogleSheet)
|
||||
{
|
||||
Debug.Log($"Loading from google sheet..");
|
||||
_json = await LoadDataGoogleSheet(_googleSheetUrl);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log($"Loading from local json..");
|
||||
_json = LoadDataLocalJson();
|
||||
}
|
||||
|
||||
if (_json == null)
|
||||
{
|
||||
Debug.Log("Json is null.");
|
||||
return;
|
||||
}
|
||||
|
||||
bool isJsonSaved = SaveFileOrSkip(JsonPath, _json);
|
||||
string allClassCode = GenerateCSharpClass(_json);
|
||||
bool isClassSaved = SaveFileOrSkip(ClassPath, allClassCode);
|
||||
|
||||
if (isJsonSaved || isClassSaved)
|
||||
{
|
||||
_refeshTrigger = true;
|
||||
UnityEditor.AssetDatabase.Refresh();
|
||||
}
|
||||
else
|
||||
{
|
||||
CreateGoogleSheetSo();
|
||||
Debug.Log($"Fetch done.");
|
||||
}
|
||||
|
||||
_lastUpdated = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
}
|
||||
|
||||
private async Task<string> LoadDataGoogleSheet(string url)
|
||||
{
|
||||
using (HttpClient client = new HttpClient())
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] dataBytes = await client.GetByteArrayAsync(url);
|
||||
return Encoding.UTF8.GetString(dataBytes);
|
||||
}
|
||||
catch (HttpRequestException e)
|
||||
{
|
||||
Debug.LogError($"Request error: {e.Message}");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private string LoadDataLocalJson()
|
||||
{
|
||||
if (File.Exists(JsonPath))
|
||||
{
|
||||
return File.ReadAllText(JsonPath);
|
||||
}
|
||||
|
||||
Debug.Log($"File not exist.\n{JsonPath}");
|
||||
return null;
|
||||
}
|
||||
|
||||
private bool SaveFileOrSkip(string path, string contents)
|
||||
{
|
||||
string directoryPath = Path.GetDirectoryName(path);
|
||||
if (!Directory.Exists(directoryPath))
|
||||
{
|
||||
Directory.CreateDirectory(directoryPath);
|
||||
}
|
||||
|
||||
if (File.Exists(path) && File.ReadAllText(path).Equals(contents))
|
||||
return false;
|
||||
|
||||
File.WriteAllText(path, contents);
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool IsExistAvailSheets(string sheetName)
|
||||
{
|
||||
return Array.Exists(_availSheetArray, x => x == sheetName);
|
||||
}
|
||||
|
||||
private string GenerateCSharpClass(string jsonInput)
|
||||
{
|
||||
JObject jsonObject = JObject.Parse(jsonInput);
|
||||
StringBuilder classCode = new();
|
||||
|
||||
// Scriptable Object
|
||||
classCode.AppendLine("using System;\nusing System.Collections.Generic;\nusing UnityEngine;\n");
|
||||
classCode.AppendLine("/// <summary>You must approach through `GoogleSheetManager.SO<GoogleSheetSO>()`</summary>");
|
||||
classCode.AppendLine("public class GoogleSheetSO : ScriptableObject\n{");
|
||||
|
||||
foreach (var sheet in jsonObject)
|
||||
{
|
||||
string className = sheet.Key;
|
||||
if (!IsExistAvailSheets(className))
|
||||
continue;
|
||||
|
||||
classCode.AppendLine($"\tpublic List<{className}> {className}List;");
|
||||
}
|
||||
classCode.AppendLine("}\n");
|
||||
|
||||
// Class
|
||||
foreach (var jObject in jsonObject)
|
||||
{
|
||||
string className = jObject.Key;
|
||||
|
||||
if (!IsExistAvailSheets(className))
|
||||
continue;
|
||||
|
||||
var items = (JArray)jObject.Value;
|
||||
var firstItem = (JObject)items[0];
|
||||
classCode.AppendLine($"[Serializable]\npublic class {className}\n{{");
|
||||
|
||||
// int > float > bool > string
|
||||
int itemIndex = 0;
|
||||
int propertyCount = ((JObject)items[0]).Properties().Count();
|
||||
string[] propertyTypes = new string[propertyCount];
|
||||
|
||||
foreach (JToken item in items)
|
||||
{
|
||||
itemIndex = 0;
|
||||
foreach (var property in ((JObject)item).Properties())
|
||||
{
|
||||
string propertyType = GetCSharpType(property.Value.Type);
|
||||
string oldPropertyType = propertyTypes[itemIndex];
|
||||
|
||||
if (oldPropertyType == null)
|
||||
{
|
||||
propertyTypes[itemIndex] = propertyType;
|
||||
}
|
||||
else if (oldPropertyType == "int")
|
||||
{
|
||||
if (propertyType == "int") propertyTypes[itemIndex] = "int";
|
||||
else if (propertyType == "float") propertyTypes[itemIndex] = "float";
|
||||
else if (propertyType == "bool") propertyTypes[itemIndex] = "string";
|
||||
else if (propertyType == "string") propertyTypes[itemIndex] = "string";
|
||||
}
|
||||
else if (oldPropertyType == "float")
|
||||
{
|
||||
if (propertyType == "int") propertyTypes[itemIndex] = "float";
|
||||
else if (propertyType == "float") propertyTypes[itemIndex] = "float";
|
||||
else if (propertyType == "bool") propertyTypes[itemIndex] = "string";
|
||||
else if (propertyType == "string") propertyTypes[itemIndex] = "string";
|
||||
}
|
||||
else if (oldPropertyType == "bool")
|
||||
{
|
||||
if (propertyType == "int") propertyTypes[itemIndex] = "string";
|
||||
else if (propertyType == "float") propertyTypes[itemIndex] = "string";
|
||||
else if (propertyType == "bool") propertyTypes[itemIndex] = "bool";
|
||||
else if (propertyType == "string") propertyTypes[itemIndex] = "string";
|
||||
}
|
||||
|
||||
itemIndex++;
|
||||
}
|
||||
}
|
||||
|
||||
itemIndex = 0;
|
||||
foreach (var property in firstItem.Properties())
|
||||
{
|
||||
string propertyName = property.Name;
|
||||
string propertyType = propertyTypes[itemIndex];
|
||||
classCode.AppendLine($"\tpublic {propertyType} {propertyName};");
|
||||
itemIndex++;
|
||||
}
|
||||
|
||||
classCode.AppendLine("}\n");
|
||||
}
|
||||
|
||||
return classCode.ToString();
|
||||
}
|
||||
|
||||
private string GetCSharpType(JTokenType jsonType)
|
||||
{
|
||||
switch (jsonType)
|
||||
{
|
||||
case JTokenType.Integer:
|
||||
return "int";
|
||||
case JTokenType.Float:
|
||||
return "float";
|
||||
case JTokenType.Boolean:
|
||||
return "bool";
|
||||
default:
|
||||
return "string";
|
||||
}
|
||||
}
|
||||
|
||||
private bool CreateGoogleSheetSo()
|
||||
{
|
||||
if (Type.GetType("GoogleSheetSO") == null)
|
||||
return false;
|
||||
|
||||
GoogleSheetSo = ScriptableObject.CreateInstance("GoogleSheetSO");
|
||||
JObject jsonObject = JObject.Parse(_json);
|
||||
try
|
||||
{
|
||||
foreach (var jObject in jsonObject)
|
||||
{
|
||||
string className = jObject.Key;
|
||||
if (!IsExistAvailSheets(className))
|
||||
continue;
|
||||
|
||||
Type classType = Type.GetType(className);
|
||||
Type listType = typeof(List<>).MakeGenericType(classType);
|
||||
IList listInst = (IList)Activator.CreateInstance(listType);
|
||||
var items = (JArray)jObject.Value;
|
||||
|
||||
foreach (var item in items)
|
||||
{
|
||||
object classInst = Activator.CreateInstance(classType);
|
||||
|
||||
foreach (var property in ((JObject)item).Properties())
|
||||
{
|
||||
FieldInfo fieldInfo = classType.GetField(property.Name);
|
||||
object value = Convert.ChangeType(property.Value.ToString(), fieldInfo.FieldType);
|
||||
fieldInfo.SetValue(classInst, value);
|
||||
}
|
||||
|
||||
listInst.Add(classInst);
|
||||
}
|
||||
|
||||
GoogleSheetSo.GetType().GetField($"{className}List").SetValue(GoogleSheetSo, listInst);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Debug.LogError($"CreateGoogleSheetSO error: {e.Message}");
|
||||
}
|
||||
print("CreateGoogleSheetSO");
|
||||
UnityEditor.AssetDatabase.CreateAsset(GoogleSheetSo, SoPath);
|
||||
UnityEditor.AssetDatabase.SaveAssets();
|
||||
return true;
|
||||
}
|
||||
|
||||
private void OnValidate()
|
||||
{
|
||||
if (_refeshTrigger)
|
||||
{
|
||||
bool isCompleted = CreateGoogleSheetSo();
|
||||
if (isCompleted)
|
||||
{
|
||||
_refeshTrigger = false;
|
||||
Debug.Log($"Fetch done.");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
private static GoogleSheetManager GetInstance()
|
||||
{
|
||||
if (_instance == null)
|
||||
{
|
||||
_instance = FindFirstObjectByType<GoogleSheetManager>();
|
||||
}
|
||||
return _instance;
|
||||
}
|
||||
}
|
2
Assets/0.Datas/02.Scripts/GoogldSheetManager.cs.meta
Normal file
2
Assets/0.Datas/02.Scripts/GoogldSheetManager.cs.meta
Normal file
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2631101f894592945a1c50aed7048e66
|
43
Assets/0.Datas/02.Scripts/GoogleSheetComparer.cs
Normal file
43
Assets/0.Datas/02.Scripts/GoogleSheetComparer.cs
Normal file
@ -0,0 +1,43 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
public static class GoogleSheetComparer
|
||||
{
|
||||
public static GoogleSheetDiffResult Compare<T>(List<T> oldList, List<T> newList) where T : class
|
||||
{
|
||||
var result = new GoogleSheetDiffResult();
|
||||
|
||||
var oldDict = oldList.ToDictionary(x => GetId(x));
|
||||
var newDict = newList.ToDictionary(x => GetId(x));
|
||||
|
||||
foreach (var newId in newDict.Keys)
|
||||
{
|
||||
if (!oldDict.ContainsKey(newId)) result.Added.Add(newId);
|
||||
else if (!IsSame(oldDict[newId], newDict[newId])) result.Modified.Add(newId);
|
||||
}
|
||||
|
||||
foreach (var oldId in oldDict.Keys)
|
||||
{
|
||||
if (!newDict.ContainsKey(oldId)) result.Removed.Add(oldId);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
private static string GetId(object obj)
|
||||
{
|
||||
var field = obj.GetType().GetField("Id");
|
||||
return field?.GetValue(obj)?.ToString() ?? "";
|
||||
}
|
||||
|
||||
private static bool IsSame(object a, object b)
|
||||
{
|
||||
foreach (var field in a.GetType().GetFields())
|
||||
{
|
||||
var valA = field.GetValue(a);
|
||||
var valB = field.GetValue(b);
|
||||
if (!Equals(valA, valB)) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
2
Assets/0.Datas/02.Scripts/GoogleSheetComparer.cs.meta
Normal file
2
Assets/0.Datas/02.Scripts/GoogleSheetComparer.cs.meta
Normal file
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 78a69b75420adc941ada254e71932c01
|
8
Assets/0.Datas/02.Scripts/GoogleSheetDiffResult.cs
Normal file
8
Assets/0.Datas/02.Scripts/GoogleSheetDiffResult.cs
Normal file
@ -0,0 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class GoogleSheetDiffResult
|
||||
{
|
||||
public List<string> Added = new();
|
||||
public List<string> Removed = new();
|
||||
public List<string> Modified = new();
|
||||
}
|
2
Assets/0.Datas/02.Scripts/GoogleSheetDiffResult.cs.meta
Normal file
2
Assets/0.Datas/02.Scripts/GoogleSheetDiffResult.cs.meta
Normal file
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c8081f426b1b4944985305c853b3062
|
8
Assets/Plugins.meta
Normal file
8
Assets/Plugins.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 65c18d699fcadad459bc3e16558c2bd2
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix.meta
Normal file
8
Assets/Plugins/Sirenix.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7db84c72b2408b24da5a225550b562ff
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Assemblies.meta
Normal file
8
Assets/Plugins/Sirenix/Assemblies.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05b1eef81f23d6648992c93437892982
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Assemblies/NoEditor.meta
Normal file
8
Assets/Plugins/Sirenix/Assemblies/NoEditor.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa3dc305dd00dad49bbc1ff3996b055d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
@ -0,0 +1,86 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5651992cdad94894a3af7dc3f1da9170
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 1
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 0
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 0
|
||||
Exclude PSM: 0
|
||||
Exclude PSP2: 0
|
||||
Exclude SamsungTV: 0
|
||||
Exclude Tizen: 0
|
||||
Exclude WebGL: 0
|
||||
Exclude WiiU: 0
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 0
|
||||
Exclude XboxOne: 0
|
||||
Exclude iOS: 0
|
||||
Exclude tvOS: 0
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
N3DS:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PS4:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PSM:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PSP2:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
SamsungTV:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Tizen:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WebGL:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WiiU:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WindowsStoreApps:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
XboxOne:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
iOS:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
tvOS:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/NoEditor/Sirenix.Serialization.dll
|
||||
uploadId: 748899
|
BIN
Assets/Plugins/Sirenix/Assemblies/NoEditor/Sirenix.Utilities.dll
Normal file
BIN
Assets/Plugins/Sirenix/Assemblies/NoEditor/Sirenix.Utilities.dll
Normal file
Binary file not shown.
@ -0,0 +1,86 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5978f8f3dd274e848fbb7a123bde1fb9
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 1
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 0
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 0
|
||||
Exclude PSM: 0
|
||||
Exclude PSP2: 0
|
||||
Exclude SamsungTV: 0
|
||||
Exclude Tizen: 0
|
||||
Exclude WebGL: 0
|
||||
Exclude WiiU: 0
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 0
|
||||
Exclude XboxOne: 0
|
||||
Exclude iOS: 0
|
||||
Exclude tvOS: 0
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
N3DS:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PS4:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PSM:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PSP2:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
SamsungTV:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Tizen:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WebGL:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WiiU:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WindowsStoreApps:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
XboxOne:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
iOS:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
tvOS:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/NoEditor/Sirenix.Utilities.dll
|
||||
uploadId: 748899
|
8
Assets/Plugins/Sirenix/Assemblies/NoEmitAndNoEditor.meta
Normal file
8
Assets/Plugins/Sirenix/Assemblies/NoEmitAndNoEditor.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a73a691127ad93941b89586292291dab
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
@ -0,0 +1,83 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2a8f0021d6b47c5923d8972dfb81ef1
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Android:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 0
|
||||
Exclude Editor: 1
|
||||
Exclude Linux: 0
|
||||
Exclude Linux64: 0
|
||||
Exclude LinuxUniversal: 0
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 0
|
||||
Exclude OSXIntel64: 0
|
||||
Exclude OSXUniversal: 0
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 0
|
||||
Exclude Win64: 0
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
Linux:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Linux64:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
LinuxUniversal:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
OSXIntel:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
OSXIntel64:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
OSXUniversal:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PSM:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
Win:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Win64:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/NoEmitAndNoEditor/Sirenix.Serialization.dll
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,83 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e0a9643dc0d4b46bf2321f72c4e503e
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Android:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 0
|
||||
Exclude Editor: 1
|
||||
Exclude Linux: 0
|
||||
Exclude Linux64: 0
|
||||
Exclude LinuxUniversal: 0
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 0
|
||||
Exclude OSXIntel64: 0
|
||||
Exclude OSXUniversal: 0
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 0
|
||||
Exclude Win64: 0
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
Linux:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Linux64:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
LinuxUniversal:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
OSXIntel:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
OSXIntel64:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
OSXUniversal:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
PSM:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
Win:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
Win64:
|
||||
enabled: 1
|
||||
settings: {}
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/NoEmitAndNoEditor/Sirenix.Utilities.dll
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47a84ebde4ec47fabb620b30cc7a3e5c
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 1
|
||||
settings:
|
||||
Exclude Android: 0
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 0
|
||||
Exclude Linux64: 0
|
||||
Exclude LinuxUniversal: 0
|
||||
Exclude N3DS: 0
|
||||
Exclude OSXIntel: 0
|
||||
Exclude OSXIntel64: 0
|
||||
Exclude OSXUniversal: 0
|
||||
Exclude PS4: 0
|
||||
Exclude PSM: 0
|
||||
Exclude PSP2: 0
|
||||
Exclude SamsungTV: 0
|
||||
Exclude Tizen: 0
|
||||
Exclude WebGL: 0
|
||||
Exclude WiiU: 0
|
||||
Exclude Win: 0
|
||||
Exclude Win64: 0
|
||||
Exclude WindowsStoreApps: 0
|
||||
Exclude XboxOne: 0
|
||||
Exclude iOS: 0
|
||||
Exclude tvOS: 0
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Attributes.dll
|
||||
uploadId: 748899
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 47a84ebde4ec47fabb620b30cc7a096f
|
||||
timeCreated: 1488828285
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Attributes.xml
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4865f1ab4504ed8a368670db22f409c
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Editor.dll
|
||||
uploadId: 748899
|
11312
Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Editor.xml
Normal file
11312
Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Editor.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4865f1ab4504ed8a368670db22f096f
|
||||
timeCreated: 1488828285
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Editor.xml
|
||||
uploadId: 748899
|
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Reflection.Editor.dll
Normal file
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Reflection.Editor.dll
Normal file
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61824742f78323c439d83403f8272d41
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Reflection.Editor.dll
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74721b9f0af448f5ae2e91102a1a5edd
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 1
|
||||
settings:
|
||||
Exclude Android: 0
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 0
|
||||
Exclude Linux64: 0
|
||||
Exclude LinuxUniversal: 0
|
||||
Exclude N3DS: 0
|
||||
Exclude OSXIntel: 0
|
||||
Exclude OSXIntel64: 0
|
||||
Exclude OSXUniversal: 0
|
||||
Exclude PS4: 0
|
||||
Exclude PSM: 0
|
||||
Exclude PSP2: 0
|
||||
Exclude SamsungTV: 0
|
||||
Exclude Tizen: 0
|
||||
Exclude WebGL: 0
|
||||
Exclude WiiU: 0
|
||||
Exclude Win: 0
|
||||
Exclude Win64: 0
|
||||
Exclude WindowsStoreApps: 0
|
||||
Exclude XboxOne: 0
|
||||
Exclude iOS: 0
|
||||
Exclude tvOS: 0
|
||||
Editor:
|
||||
enabled: 0
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.Config.dll
|
||||
uploadId: 748899
|
@ -0,0 +1,202 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Sirenix.Serialization.Config</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Sirenix.Serialization.CustomLogger">
|
||||
<summary>
|
||||
A helper class for quickly and easily defining custom loggers.
|
||||
</summary>
|
||||
<seealso cref="T:Sirenix.Serialization.ILogger" />
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.CustomLogger.#ctor(System.Action{System.String},System.Action{System.String},System.Action{System.Exception})">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.CustomLogger.LogWarning(System.String)">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.CustomLogger.LogError(System.String)">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.CustomLogger.LogException(System.Exception)">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Sirenix.Serialization.DataFormat">
|
||||
<summary>
|
||||
Specifies a data format to read and write in.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.DataFormat.Binary">
|
||||
<summary>
|
||||
A custom packed binary format. This format is most efficient and almost allocation-free,
|
||||
but its serialized data is not human-readable.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.DataFormat.JSON">
|
||||
<summary>
|
||||
A JSON format compliant with the json specification found at "http://www.json.org/".
|
||||
<para />
|
||||
This format has rather sluggish performance and allocates frightening amounts of string garbage.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.DataFormat.Nodes">
|
||||
<summary>
|
||||
A format that does not serialize to a byte stream, but to a list of data nodes in memory
|
||||
which can then be serialized by Unity.
|
||||
<para />
|
||||
This format is highly inefficient, and is primarily used for ensuring that Unity assets
|
||||
are mergeable by individual values when saved in Unity's text format. This makes
|
||||
serialized values more robust and data recovery easier in case of issues.
|
||||
<para />
|
||||
This format is *not* recommended for use in builds.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Sirenix.Serialization.DefaultLoggers">
|
||||
<summary>
|
||||
Defines default loggers for serialization and deserialization. This class and all of its loggers are thread safe.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.DefaultLoggers.DefaultLogger">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.DefaultLoggers.UnityLogger">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Sirenix.Serialization.ErrorHandlingPolicy">
|
||||
<summary>
|
||||
The policy for handling errors during serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.ErrorHandlingPolicy.Resilient">
|
||||
<summary>
|
||||
Attempts will be made to recover from errors and continue serialization. Data may become invalid.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.ErrorHandlingPolicy.ThrowOnErrors">
|
||||
<summary>
|
||||
Exceptions will be thrown when errors are logged.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.ErrorHandlingPolicy.ThrowOnWarningsAndErrors">
|
||||
<summary>
|
||||
Exceptions will be thrown when warnings or errors are logged.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Sirenix.Serialization.GlobalSerializationConfig">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.GlobalSerializationConfig.ODIN_SERIALIZATION_CAUTIONARY_WARNING_TEXT">
|
||||
<summary>
|
||||
Text for the cautionary serialization warning shown in the inspector.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.GlobalSerializationConfig.ODIN_SERIALIZATION_CAUTIONARY_WARNING_BUTTON_TEXT">
|
||||
<summary>
|
||||
Text for the hide button for the cautionary serialization warning shown in the inspector.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.GlobalSerializationConfig.ODIN_PREFAB_CAUTIONARY_WARNING_BUTTON_TEXT">
|
||||
<summary>
|
||||
Text for the hide button for the cautionary prefab warning shown in the inspector.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.GlobalSerializationConfig.HideSerializationCautionaryMessage">
|
||||
<summary>
|
||||
Whether the user has chosen to hide the cautionary serialization warning.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.GlobalSerializationConfig.HideOdinSerializeAttributeWarningMessages">
|
||||
<summary>
|
||||
Whether the user has chosen to hide the warning messages related to the OdinSerialize attribute.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.GlobalSerializationConfig.HideNonSerializedShowInInspectorWarningMessages">
|
||||
<summary>
|
||||
Whether the user has chosen to hide the warning messages related to the SerializeField and ShowInInspector attributes on non-serialized members.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.GlobalSerializationConfig.Logger">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.GlobalSerializationConfig.EditorSerializationFormat">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.GlobalSerializationConfig.BuildSerializationFormat">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.GlobalSerializationConfig.LoggingPolicy">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Sirenix.Serialization.GlobalSerializationConfig.ErrorHandlingPolicy">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Sirenix.Serialization.ILogger">
|
||||
<summary>
|
||||
Implements methods for logging warnings, errors and exceptions during serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.ILogger.LogWarning(System.String)">
|
||||
<summary>
|
||||
Logs a warning.
|
||||
</summary>
|
||||
<param name="warning">The warning to log.</param>
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.ILogger.LogError(System.String)">
|
||||
<summary>
|
||||
Logs an error.
|
||||
</summary>
|
||||
<param name="error">The error to log.</param>
|
||||
</member>
|
||||
<member name="M:Sirenix.Serialization.ILogger.LogException(System.Exception)">
|
||||
<summary>
|
||||
Logs an exception.
|
||||
</summary>
|
||||
<param name="exception">The exception to log.</param>
|
||||
</member>
|
||||
<member name="T:Sirenix.Serialization.LoggingPolicy">
|
||||
<summary>
|
||||
The policy for which level of logging to do during serialization and deserialization.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.LoggingPolicy.LogErrors">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.LoggingPolicy.LogWarningsAndErrors">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Sirenix.Serialization.LoggingPolicy.Silent">
|
||||
<summary>
|
||||
Not yet documented.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74721b9f0af448f5ae2e91102a1a096f
|
||||
timeCreated: 1488828285
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.Config.xml
|
||||
uploadId: 748899
|
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.dll
Normal file
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.dll
Normal file
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f3147f7af4c49739579b966c458f5e4
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.dll
|
||||
uploadId: 748899
|
9864
Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.xml
Normal file
9864
Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f3147f7af4c49739579b966c458096f
|
||||
timeCreated: 1488828285
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Serialization.xml
|
||||
uploadId: 748899
|
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.Editor.dll
Normal file
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.Editor.dll
Normal file
Binary file not shown.
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c65184932ff4fd48a343e2360256baf
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.Editor.dll
|
||||
uploadId: 748899
|
9790
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.Editor.xml
Normal file
9790
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.Editor.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c65184932ff4fd48a343e236025096f
|
||||
timeCreated: 1488828285
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.Editor.xml
|
||||
uploadId: 748899
|
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.dll
Normal file
BIN
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.dll
Normal file
Binary file not shown.
53
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.dll.meta
Normal file
53
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.dll.meta
Normal file
@ -0,0 +1,53 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4873f2a8bdae42baa0406e8a61366ca1
|
||||
timeCreated: 1488828285
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Any:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 1
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude N3DS: 1
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude PS4: 1
|
||||
Exclude PSM: 1
|
||||
Exclude PSP2: 1
|
||||
Exclude SamsungTV: 1
|
||||
Exclude Tizen: 1
|
||||
Exclude WebGL: 1
|
||||
Exclude WiiU: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude WindowsStoreApps: 1
|
||||
Exclude XboxOne: 1
|
||||
Exclude iOS: 1
|
||||
Exclude tvOS: 1
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.dll
|
||||
uploadId: 748899
|
3713
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.xml
Normal file
3713
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.xml
Normal file
File diff suppressed because it is too large
Load Diff
14
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.xml.meta
Normal file
14
Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.xml.meta
Normal file
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4873f2a8bdae42baa0406e8a6136096f
|
||||
timeCreated: 1488828285
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/Sirenix.Utilities.xml
|
||||
uploadId: 748899
|
6
Assets/Plugins/Sirenix/Assemblies/link.xml
Normal file
6
Assets/Plugins/Sirenix/Assemblies/link.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<linker>
|
||||
<assembly fullname="Sirenix.OdinInspector.Attributes" preserve="all"/>
|
||||
<assembly fullname="Sirenix.Serialization.Config" preserve="all"/>
|
||||
<assembly fullname="Sirenix.Serialization" preserve="all"/>
|
||||
<assembly fullname="Sirenix.Utilities" preserve="all"/>
|
||||
</linker>
|
14
Assets/Plugins/Sirenix/Assemblies/link.xml.meta
Normal file
14
Assets/Plugins/Sirenix/Assemblies/link.xml.meta
Normal file
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1bec01331befdea4d9ed9033eabd68f8
|
||||
timeCreated: 1613046886
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Assemblies/link.xml
|
||||
uploadId: 748899
|
8
Assets/Plugins/Sirenix/Demos.meta
Normal file
8
Assets/Plugins/Sirenix/Demos.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 39584688cfac6ff44bd94124e5bc1ca7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Odin Inspector.meta
Normal file
8
Assets/Plugins/Sirenix/Odin Inspector.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fe4970195facd664dbd38d1cbf2100c3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Odin Inspector/Assets.meta
Normal file
8
Assets/Plugins/Sirenix/Odin Inspector/Assets.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 52c0fd243c6c01e4d9efa03616b655d5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor.meta
Normal file
8
Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 85e532eecf67ab545b2a5a28f1a22894
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,30 @@
|
||||
Odin Inspector makes use of the Bootstrap icon library.
|
||||
The library has been packed into the SdfIconAtlas.png
|
||||
file as SDF data.
|
||||
|
||||
Bootstrap is released under the following license:
|
||||
|
||||
---
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2011-2018 Twitter, Inc.
|
||||
Copyright (c) 2011-2018 The Bootstrap Authors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3fdc67fad3e362e47b5dd365a0bbdd7f
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/Bootstrap License.txt
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90eaa0dc28c1934408dc1c02e13a507f
|
||||
timeCreated: 1628274352
|
||||
licenseType: Store
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/ConfigData.bytes
|
||||
uploadId: 748899
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e22dad2728c77344f8da0d2789866a0e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,51 @@
|
||||
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
|
||||
|
||||
Shader "Hidden/Sirenix/Editor/ExtractSprite"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex("Texture", 2D) = "white" {}
|
||||
_Color("Color", Color) = (1,1,1,1)
|
||||
_Rect("Rect", Vector) = (0,0,0,0)
|
||||
_TexelSize("TexelSize", Vector) = (0,0,0,0)
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
Pass
|
||||
{
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
struct appdata {
|
||||
float4 vertex : POSITION;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct v2f {
|
||||
float2 uv : TEXCOORD0;
|
||||
float4 vertex : SV_POSITION;
|
||||
};
|
||||
|
||||
sampler2D _MainTex;
|
||||
float4 _Rect;
|
||||
|
||||
v2f vert(appdata v) {
|
||||
v2f o;
|
||||
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||
o.uv = v.uv;
|
||||
return o;
|
||||
}
|
||||
|
||||
fixed4 frag(v2f i) : SV_Target {
|
||||
float2 uv = i.uv;
|
||||
uv *= _Rect.zw;
|
||||
uv += _Rect.xy;
|
||||
return tex2D(_MainTex, uv);
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0675e2791073a4147b190e55f1da7ac2
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/Hidden/ExtractSpriteShader.shader
|
||||
uploadId: 748899
|
@ -0,0 +1,98 @@
|
||||
Shader "Hidden/Sirenix/OdinGUIShader"
|
||||
{
|
||||
SubShader
|
||||
{
|
||||
Lighting Off
|
||||
Cull Off
|
||||
ZWrite Off
|
||||
ZTest Always
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
|
||||
Pass
|
||||
{
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
struct appdata {
|
||||
float4 vertex : POSITION;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct v2f {
|
||||
float2 uv : TEXCOORD0;
|
||||
float4 vertex : SV_POSITION;
|
||||
};
|
||||
|
||||
sampler2D _MainTex;
|
||||
float _SirenixOdin_GreyScale;
|
||||
float4 _SirenixOdin_GUIColor;
|
||||
float4 _SirenixOdin_GUIUv;
|
||||
float4 _SirenixOdin_HueColor;
|
||||
|
||||
v2f vert(appdata v) {
|
||||
v2f o;
|
||||
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||
o.uv = v.uv;
|
||||
return o;
|
||||
}
|
||||
|
||||
float test1(float x, float y) {
|
||||
if (x >= y) {
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
float test2(float x, float y) {
|
||||
return step(x, y);
|
||||
}
|
||||
|
||||
float3 rgb2hsv(float3 c) {
|
||||
float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);
|
||||
float4 p = lerp(float4(c.bg, K.wz), float4(c.gb, K.xy), step(c.b, c.g));
|
||||
float4 q = lerp(float4(p.xyw, c.r), float4(c.r, p.yzx), step(p.x, c.r));
|
||||
|
||||
float d = q.x - min(q.w, q.y);
|
||||
float e = 1.0e-10;
|
||||
return float3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);
|
||||
}
|
||||
|
||||
float3 hsv2rgb(float3 c) {
|
||||
c = float3(c.x, clamp(c.yz, 0.0, 1.0));
|
||||
float4 K = float4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);
|
||||
float3 p = abs(frac(c.xxx + K.xyz) * 6.0 - K.www);
|
||||
return c.z * lerp(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);
|
||||
}
|
||||
|
||||
float4 frag(v2f i) : SV_Target {
|
||||
float2 uv = i.uv;
|
||||
uv.y = 1 - uv.y;
|
||||
uv.x = _SirenixOdin_GUIUv.x + uv.x * _SirenixOdin_GUIUv.z;
|
||||
uv.y = _SirenixOdin_GUIUv.y + uv.y * _SirenixOdin_GUIUv.w;
|
||||
uv.y = 1 - uv.y;
|
||||
|
||||
// Greyscale
|
||||
float4 col = tex2D(_MainTex, uv);
|
||||
float3 greyScale = (0.3 * col.r) + (0.59 * col.g) + (0.11 * col.b);
|
||||
col.rgb = lerp(col.rgb, greyScale, _SirenixOdin_GreyScale);
|
||||
|
||||
// Change hue
|
||||
float3 h = col.rgb;
|
||||
h = rgb2hsv(h);
|
||||
float hue = rgb2hsv(_SirenixOdin_HueColor.rgb).x;
|
||||
h.x = hue;
|
||||
h = hsv2rgb(h);
|
||||
col.rgb = lerp(col.rgb, h, _SirenixOdin_HueColor.a);
|
||||
|
||||
// Blend color
|
||||
col *= _SirenixOdin_GUIColor;
|
||||
|
||||
return col;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7619c1ca61a5ef94ca78ddfa69941dad
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/Hidden/GUIUtilShader.shader
|
||||
uploadId: 748899
|
@ -0,0 +1,57 @@
|
||||
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
|
||||
|
||||
Shader "Hidden/Sirenix/Editor/GUIIcon"
|
||||
{
|
||||
Properties
|
||||
{
|
||||
_MainTex("Texture", 2D) = "white" {}
|
||||
_Color("Color", Color) = (1,1,1,1)
|
||||
}
|
||||
SubShader
|
||||
{
|
||||
Blend SrcAlpha Zero
|
||||
Pass
|
||||
{
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
struct appdata {
|
||||
float4 vertex : POSITION;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct v2f {
|
||||
float2 uv : TEXCOORD0;
|
||||
float4 vertex : SV_POSITION;
|
||||
};
|
||||
|
||||
sampler2D _MainTex;
|
||||
float4 _Color;
|
||||
|
||||
v2f vert(appdata v) {
|
||||
v2f o;
|
||||
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||
o.uv = v.uv;
|
||||
return o;
|
||||
}
|
||||
|
||||
fixed4 frag(v2f i) : SV_Target {
|
||||
// drop shadow:
|
||||
// float texelSize = 1.0 / 34.0;
|
||||
// float2 shadowUv = clamp(i.uv + float2(-texelSize, texelSize * 2), float2(0, 0), float2(1, 1));
|
||||
// fixed4 shadow = fixed4(0, 0, 0, tex2D(_MainTex, shadowUv).a);
|
||||
|
||||
fixed4 col = _Color;
|
||||
col.a *= tex2D(_MainTex, i.uv).a;
|
||||
|
||||
// drop shadow:
|
||||
// col = lerp(shadow, col, col.a);
|
||||
|
||||
return col;
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2ad0a53eacb91bd4fbe0dc668bf25e6f
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/Hidden/LazyEditorIconShader.shader
|
||||
uploadId: 748899
|
@ -0,0 +1,95 @@
|
||||
Shader "Hidden/Sirenix/SdfIconShader"
|
||||
{
|
||||
SubShader
|
||||
{
|
||||
Blend SrcAlpha OneMinusSrcAlpha
|
||||
Pass
|
||||
{
|
||||
CGPROGRAM
|
||||
#pragma vertex vert
|
||||
#pragma fragment frag
|
||||
#include "UnityCG.cginc"
|
||||
|
||||
struct appdata {
|
||||
float4 vertex : POSITION;
|
||||
float2 uv : TEXCOORD0;
|
||||
};
|
||||
|
||||
struct v2f {
|
||||
float2 uv : TEXCOORD0;
|
||||
float4 vertex : SV_POSITION;
|
||||
};
|
||||
|
||||
sampler2D _MainTex;
|
||||
sampler2D _SirenixOdin_SdfTex;
|
||||
float _SirenixOdin_EdgeOffset;
|
||||
float4 _SirenixOdin_Color;
|
||||
float4 _SirenixOdin_BgColor;
|
||||
float4 _SirenixOdin_Uv;
|
||||
|
||||
v2f vert(appdata v) {
|
||||
v2f o;
|
||||
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||
o.uv = v.uv;
|
||||
return o;
|
||||
}
|
||||
|
||||
float samplePixel(float2 uv) {
|
||||
return tex2D(_SirenixOdin_SdfTex, uv).a;
|
||||
}
|
||||
|
||||
float linearstep(float lo, float hi, float input) {
|
||||
float diff = hi - lo;
|
||||
float offset = input - lo;
|
||||
return min(1.0, max(0.0, offset / diff));
|
||||
}
|
||||
|
||||
float sampleDist(float2 uv, float dx, float edge, float padding) {
|
||||
float dist = samplePixel(uv);
|
||||
float p = -abs((dx * 3072.0) / -padding);
|
||||
float a = min(1, max(0, edge - p * 0.33333));
|
||||
float b = max(0, min(1, edge + p * 0.33333));
|
||||
return smoothstep(b, a, dist);
|
||||
}
|
||||
|
||||
float4 frag(v2f i) : SV_Target {
|
||||
float2 uv = i.uv;
|
||||
uv.y = 1 - uv.y;
|
||||
uv.x = _SirenixOdin_Uv.x + uv.x * _SirenixOdin_Uv.z;
|
||||
uv.y = _SirenixOdin_Uv.y + uv.y * _SirenixOdin_Uv.w;
|
||||
uv.y = 1 - uv.y;
|
||||
|
||||
float alpha = 0.0;
|
||||
float edge = 0.5019608 + _SirenixOdin_EdgeOffset;
|
||||
|
||||
if (_SirenixOdin_BgColor.a > 0.01) {
|
||||
float3 colorBg = _SirenixOdin_BgColor.rgb;
|
||||
float3 colorFg = _SirenixOdin_Color.rgb;
|
||||
|
||||
float padding = 8;
|
||||
float dx = ddx(uv.x);
|
||||
float2 t = float2(dx * 0.333333, 0);
|
||||
float3 subDist = float3(
|
||||
sampleDist(uv.xy - t, dx, edge, padding),
|
||||
sampleDist(uv.xy, dx, edge, padding),
|
||||
sampleDist(uv.xy + t, dx, edge, padding));
|
||||
float3 color = lerp(colorBg, colorFg, clamp(subDist, 0.0, 1.0));
|
||||
|
||||
float alpha = min(1, subDist.r + subDist.g + subDist.b);
|
||||
float4 col = float4(color, alpha * _SirenixOdin_Color.a);
|
||||
|
||||
return col;
|
||||
} else {
|
||||
float padding = 8;
|
||||
float dx = ddx(uv.x);
|
||||
float alpha = sampleDist(uv, dx, edge, padding);
|
||||
float4 col = _SirenixOdin_Color;
|
||||
col.a *= alpha;
|
||||
|
||||
return col;
|
||||
}
|
||||
}
|
||||
ENDCG
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 99e0f263ae4ed2d4d962a2e995dff6df
|
||||
ShaderImporter:
|
||||
externalObjects: {}
|
||||
defaultTextures: []
|
||||
nonModifiableTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/Hidden/SdfIconShader.shader
|
||||
uploadId: 748899
|
@ -0,0 +1,13 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -262940062, guid: a4865f1ab4504ed8a368670db22f409c, type: 3}
|
||||
m_Name: OdinPathLookup
|
||||
m_EditorClassIdentifier:
|
@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 08379ccefc05200459f90a1c0711a340
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/OdinPathLookup.asset
|
||||
uploadId: 748899
|
Binary file not shown.
After Width: | Height: | Size: 1.7 MiB |
@ -0,0 +1,135 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2a0112a98875dfd488b5d10bdb8a4903
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 11
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 10
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
applyGammaDecoding: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 16384
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 16384
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 16384
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Assets/Editor/SdfIconAtlas.png
|
||||
uploadId: 748899
|
8
Assets/Plugins/Sirenix/Odin Inspector/Config.meta
Normal file
8
Assets/Plugins/Sirenix/Odin Inspector/Config.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5486832c12b1feb48b68ae028bb67e4b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Odin Inspector/Config/Editor.meta
Normal file
8
Assets/Plugins/Sirenix/Odin Inspector/Config/Editor.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 23c7e42f0e74e114ba5ee675f347c112
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,25 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -645759843, guid: a4865f1ab4504ed8a368670db22f409c, type: 3}
|
||||
m_Name: GeneralDrawerConfig
|
||||
m_EditorClassIdentifier:
|
||||
enableUIToolkitSupport: 1
|
||||
useOldUnityObjectField: 0
|
||||
useOldUnityPreviewField: 0
|
||||
useOldTypeSelector: 0
|
||||
useNewObjectSelector: 1
|
||||
showNoneItem: 1
|
||||
showCategoriesByDefault: 0
|
||||
preferNamespacesOverAssemblyCategories: 1
|
||||
useOldPolymorphicField: 0
|
||||
showBaseType: 1
|
||||
nonDefaultConstructorPreference: 0
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 669501766b2d8a743ad6bc05e760a059
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,19 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 1137305049, guid: a4865f1ab4504ed8a368670db22f409c, type: 3}
|
||||
m_Name: InspectorConfig
|
||||
m_EditorClassIdentifier:
|
||||
enableOdinInInspector: 1
|
||||
defaultEditorBehaviour: 11
|
||||
processMouseMoveInInspector: 1
|
||||
drawingConfig:
|
||||
configs: []
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5f93df26a2f5dde4f824ad30bfbe934a
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,19 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -228747253, guid: a4865f1ab4504ed8a368670db22f409c, type: 3}
|
||||
m_Name: OdinModuleConfig
|
||||
m_EditorClassIdentifier:
|
||||
configurations:
|
||||
- ID: Unity.Mathematics
|
||||
ActivationSettings: 0
|
||||
ModuleTogglingSettings: 1
|
||||
ModuleUpdateSettings: 1
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e065e46e6e75dbc45ad147d26b068223
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,24 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 2050440665, guid: a4865f1ab4504ed8a368670db22f409c, type: 3}
|
||||
m_Name: TypeRegistryUserConfig
|
||||
m_EditorClassIdentifier:
|
||||
shownTypes:
|
||||
serializedCollection: []
|
||||
hiddenTypes:
|
||||
serializedCollection: []
|
||||
addedIllegalTypes:
|
||||
serializedCollection: []
|
||||
typeSettings:
|
||||
serializedDictionary: []
|
||||
typePriorities:
|
||||
serializedDictionary: []
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d5bda4e4168cdc4981c58041011730f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/Plugins/Sirenix/Odin Inspector/Modules.meta
Normal file
8
Assets/Plugins/Sirenix/Odin Inspector/Modules.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 356a67db9bc6244428bcd2aad1eefbda
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d92d0eb8b980c6d44b5f0e64a620355b
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Modules/Unity.Addressables.data
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 728df0e3465c1a148b83053a3f31d489
|
||||
timeCreated: 1573836981
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Modules/Unity.Entities.data
|
||||
uploadId: 748899
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5a1693d73a4f6e34d955789129c71e11
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 89041
|
||||
packageName: Odin Inspector and Serializer
|
||||
packageVersion: 3.3.1.12
|
||||
assetPath: Assets/Plugins/Sirenix/Odin Inspector/Modules/Unity.Localization.data
|
||||
uploadId: 748899
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user