23 changed files with 271 additions and 43 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,5 +1,5 @@ |
|||||||
fileFormatVersion: 2 |
fileFormatVersion: 2 |
||||||
guid: b73bb5af007b45341964af83ae76e1e9 |
guid: e20c813407bc0484ab7f3cb8ac70720c |
||||||
folderAsset: yes |
folderAsset: yes |
||||||
DefaultImporter: |
DefaultImporter: |
||||||
externalObjects: {} |
externalObjects: {} |
@ -0,0 +1,71 @@ |
|||||||
|
%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: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: a33d53564060c934aac5da5e287613e8 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,84 @@ |
|||||||
|
%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 |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 4a8c4100d6943fa4a9dff3024cf251e4 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -1,33 +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 Test : SerializedScriptableObject, IExcelSOData |
|
||||||
{ |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// 英雄 |
|
||||||
/// </summary> |
|
||||||
public int id; |
|
||||||
|
|
||||||
/// <summary> |
|
||||||
/// |
|
||||||
/// </summary> |
|
||||||
public Item item; |
|
||||||
} |
|
||||||
} |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: 1c45734ab68bc9b4d9e31e53f3f360e2 |
|
@ -1,2 +0,0 @@ |
|||||||
fileFormatVersion: 2 |
|
||||||
guid: ab74c9c14b1a72b438c93e10a5c51397 |
|
@ -0,0 +1,93 @@ |
|||||||
|
//------------------------------------------------------------------------------ |
||||||
|
// <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; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,2 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 16a0885aa5ee33046af22575907b7409 |
Loading…
Reference in new issue