29 changed files with 135 additions and 271 deletions
Binary file not shown.
@ -1,71 +0,0 @@
|
||||
%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: dccd381378a062b499ddc03703bfa842, type: 3} |
||||
m_Name: _monster2Util |
||||
m_EditorClassIdentifier: |
||||
serializationData: |
||||
SerializedFormat: 2 |
||||
SerializedBytes: |
||||
ReferencedUnityObjects: |
||||
- {fileID: 11400000, guid: 4a8c4100d6943fa4a9dff3024cf251e4, type: 2} |
||||
SerializedBytesString: |
||||
Prefab: {fileID: 0} |
||||
PrefabModificationsReferencedUnityObjects: [] |
||||
PrefabModifications: [] |
||||
SerializationNodes: |
||||
- Name: Data |
||||
Entry: 7 |
||||
Data: 0|System.Collections.Generic.Dictionary`2[[System.ValueTuple`3[[System.Int32, |
||||
mscorlib],[System.Int32, mscorlib],[System.Int32, mscorlib]], mscorlib],[Tools.ExcelResolver.monster2, |
||||
Assembly-CSharp]], mscorlib |
||||
- Name: comparer |
||||
Entry: 7 |
||||
Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.ValueTuple`3[[System.Int32, |
||||
mscorlib],[System.Int32, mscorlib],[System.Int32, mscorlib]], mscorlib]], |
||||
mscorlib |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
- Name: |
||||
Entry: 12 |
||||
Data: 1 |
||||
- Name: |
||||
Entry: 7 |
||||
Data: |
||||
- Name: $k |
||||
Entry: 7 |
||||
Data: System.ValueTuple`3[[System.Int32, mscorlib],[System.Int32, mscorlib],[System.Int32, |
||||
mscorlib]], mscorlib |
||||
- Name: Item1 |
||||
Entry: 3 |
||||
Data: 1 |
||||
- Name: Item2 |
||||
Entry: 3 |
||||
Data: 1 |
||||
- Name: Item3 |
||||
Entry: 3 |
||||
Data: 1 |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
- Name: $v |
||||
Entry: 10 |
||||
Data: 0 |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
- Name: |
||||
Entry: 13 |
||||
Data: |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
@ -1,84 +0,0 @@
|
||||
%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: 16a0885aa5ee33046af22575907b7409, type: 3} |
||||
m_Name: monster2_1_1_1 |
||||
m_EditorClassIdentifier: |
||||
serializationData: |
||||
SerializedFormat: 2 |
||||
SerializedBytes: |
||||
ReferencedUnityObjects: [] |
||||
SerializedBytesString: |
||||
Prefab: {fileID: 0} |
||||
PrefabModificationsReferencedUnityObjects: [] |
||||
PrefabModifications: [] |
||||
SerializationNodes: |
||||
- Name: nihao |
||||
Entry: 7 |
||||
Data: 0|System.Collections.Generic.Dictionary`2[[System.Int32, mscorlib],[System.Single, |
||||
mscorlib]], mscorlib |
||||
- Name: comparer |
||||
Entry: 7 |
||||
Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.Int32, |
||||
mscorlib]], mscorlib |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
- Name: |
||||
Entry: 12 |
||||
Data: 2 |
||||
- Name: |
||||
Entry: 7 |
||||
Data: |
||||
- Name: $k |
||||
Entry: 3 |
||||
Data: 2 |
||||
- Name: $v |
||||
Entry: 4 |
||||
Data: 2.3 |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
- Name: |
||||
Entry: 7 |
||||
Data: |
||||
- Name: $k |
||||
Entry: 3 |
||||
Data: 5 |
||||
- Name: $v |
||||
Entry: 4 |
||||
Data: 4.6 |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
- Name: |
||||
Entry: 13 |
||||
Data: |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
id: 1 |
||||
level: 1 |
||||
star: 1 |
||||
name: "\u9053\u58EB" |
||||
icon: hero_1 |
||||
has: 1 |
||||
hp: 100 |
||||
atk: 20 |
||||
speed: 1.2 |
||||
pos: {x: 0, y: 1, z: 9} |
||||
ches: {x: 0, y: 1} |
||||
attack_target: |
||||
- {x: 1, y: 2} |
||||
- {x: 1, y: 2} |
||||
- {x: 1, y: 2} |
||||
- {x: 1, y: 2} |
||||
color: 3 |
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2 |
||||
guid: e20c813407bc0484ab7f3cb8ac70720c |
||||
guid: e5c0e3f65d74bde49a58ac6713bd2d2c |
||||
folderAsset: yes |
||||
DefaultImporter: |
||||
externalObjects: {} |
@ -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: 11500000, guid: dfb34a928a8a0354da1a8e018712548f, type: 3} |
||||
m_Name: _testExcelUtil |
||||
m_EditorClassIdentifier: |
||||
serializationData: |
||||
SerializedFormat: 2 |
||||
SerializedBytes: |
||||
ReferencedUnityObjects: [] |
||||
SerializedBytesString: |
||||
Prefab: {fileID: 0} |
||||
PrefabModificationsReferencedUnityObjects: [] |
||||
PrefabModifications: [] |
||||
SerializationNodes: [] |
||||
Data: |
||||
- {fileID: 11400000, guid: 3bbf9021da858e346ad465fac30a4fcf, type: 2} |
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 4a8c4100d6943fa4a9dff3024cf251e4 |
||||
guid: 7eaf28151ff5fcd4a87ffbd6994825a0 |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 11400000 |
@ -0,0 +1,42 @@
|
||||
%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: 83f98c6ff7089dc4ba08b80c69d1c01f, type: 3} |
||||
m_Name: testExcel_6 |
||||
m_EditorClassIdentifier: |
||||
serializationData: |
||||
SerializedFormat: 2 |
||||
SerializedBytes: |
||||
ReferencedUnityObjects: [] |
||||
SerializedBytesString: |
||||
Prefab: {fileID: 0} |
||||
PrefabModificationsReferencedUnityObjects: [] |
||||
PrefabModifications: [] |
||||
SerializationNodes: |
||||
- Name: item |
||||
Entry: 7 |
||||
Data: 0|Tools.ExcelResolver.Item, Assembly-CSharp |
||||
- Name: id |
||||
Entry: 3 |
||||
Data: 1001 |
||||
- Name: refId |
||||
Entry: 3 |
||||
Data: 1 |
||||
- Name: name |
||||
Entry: 1 |
||||
Data: hero_image_1 |
||||
- Name: price |
||||
Entry: 3 |
||||
Data: 9999 |
||||
- Name: |
||||
Entry: 8 |
||||
Data: |
||||
id: 1 |
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2 |
||||
guid: a33d53564060c934aac5da5e287613e8 |
||||
guid: 3bbf9021da858e346ad465fac30a4fcf |
||||
NativeFormatImporter: |
||||
externalObjects: {} |
||||
mainObjectFileID: 11400000 |
@ -1,93 +0,0 @@
|
||||
//------------------------------------------------------------------------------ |
||||
// <auto-generated> |
||||
// This code was generated by a tool. |
||||
// Runtime Version:4.0.30319.42000 |
||||
// |
||||
// Changes to this file may cause incorrect behavior and will be lost if |
||||
// the code is regenerated. |
||||
// </auto-generated> |
||||
//------------------------------------------------------------------------------ |
||||
|
||||
namespace Tools.ExcelResolver |
||||
{ |
||||
using System; |
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
using Sirenix.OdinInspector; |
||||
|
||||
|
||||
public class monster2 : SerializedScriptableObject, IExcelSOData |
||||
{ |
||||
|
||||
/// <summary> |
||||
/// 英雄 |
||||
/// </summary> |
||||
public int id; |
||||
|
||||
/// <summary> |
||||
/// 等级 |
||||
/// </summary> |
||||
public int level; |
||||
|
||||
/// <summary> |
||||
/// 星级 |
||||
/// </summary> |
||||
public int star; |
||||
|
||||
/// <summary> |
||||
/// 名称 |
||||
/// </summary> |
||||
public string name; |
||||
|
||||
/// <summary> |
||||
/// icon |
||||
/// </summary> |
||||
public string icon; |
||||
|
||||
/// <summary> |
||||
/// 有宠物 |
||||
/// </summary> |
||||
public bool has; |
||||
|
||||
/// <summary> |
||||
/// 血量 |
||||
/// </summary> |
||||
public int hp; |
||||
|
||||
/// <summary> |
||||
/// 攻击力 |
||||
/// </summary> |
||||
public int atk; |
||||
|
||||
/// <summary> |
||||
/// 移速 |
||||
/// </summary> |
||||
public float speed; |
||||
|
||||
/// <summary> |
||||
/// 位置 |
||||
/// </summary> |
||||
public Vector3 pos; |
||||
|
||||
/// <summary> |
||||
/// 位置 |
||||
/// </summary> |
||||
public Vector2 ches; |
||||
|
||||
/// <summary> |
||||
/// 攻击优先级 |
||||
/// </summary> |
||||
public List<Vector2> attack_target; |
||||
|
||||
/// <summary> |
||||
/// 你好 |
||||
/// </summary> |
||||
public Dictionary<Int32, Single> nihao; |
||||
|
||||
/// <summary> |
||||
/// |
||||
/// </summary> |
||||
public CustomizeColor color; |
||||
} |
||||
} |
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 16a0885aa5ee33046af22575907b7409 |
@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2 |
||||
guid: dccd381378a062b499ddc03703bfa842 |
@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------ |
||||
// <auto-generated> |
||||
// This code was generated by a tool. |
||||
// Runtime Version:4.0.30319.42000 |
||||
// |
||||
// Changes to this file may cause incorrect behavior and will be lost if |
||||
// the code is regenerated. |
||||
// </auto-generated> |
||||
//------------------------------------------------------------------------------ |
||||
|
||||
namespace Tools.ExcelResolver |
||||
{ |
||||
using System; |
||||
using System.Collections; |
||||
using System.Collections.Generic; |
||||
using UnityEngine; |
||||
using Sirenix.OdinInspector; |
||||
|
||||
|
||||
public class testExcel : SerializedScriptableObject, IExcelSOData |
||||
{ |
||||
|
||||
/// <summary> |
||||
/// 英雄 |
||||
/// </summary> |
||||
public int id; |
||||
|
||||
/// <summary> |
||||
/// |
||||
/// </summary> |
||||
public Item item; |
||||
} |
||||
} |
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 83f98c6ff7089dc4ba08b80c69d1c01f |
Loading…
Reference in new issue