补充漏提交以及修改战斗场景数据
This commit is contained in:
8
Assets/TcgEngine/Resources/Skill测试用的.meta
Normal file
8
Assets/TcgEngine/Resources/Skill测试用的.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5e8050d99633cd479dbd1fdc372771b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/TcgEngine/Resources/Skill测试用的/Data.meta
Normal file
8
Assets/TcgEngine/Resources/Skill测试用的/Data.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2094a64f141e68b46819a2c225a11418
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill1.asset
Normal file
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill1.asset
Normal file
@@ -0,0 +1,18 @@
|
||||
%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: 1760d8437a2da6d47a720947920bad93, type: 3}
|
||||
m_Name: Skill1
|
||||
m_EditorClassIdentifier:
|
||||
skillName: "\u6280\u80FD1"
|
||||
description: 1111111111111111111111111
|
||||
manaCost: 5
|
||||
icon: {fileID: 21300000, guid: 57997932622c8ba498e11b2243448623, type: 3}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 167063baf679b244b8f8b9ee3aae4815
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill2.asset
Normal file
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill2.asset
Normal file
@@ -0,0 +1,18 @@
|
||||
%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: 1760d8437a2da6d47a720947920bad93, type: 3}
|
||||
m_Name: Skill2
|
||||
m_EditorClassIdentifier:
|
||||
skillName: "\u6280\u80FD2"
|
||||
description: 22222222222222222
|
||||
manaCost: 10
|
||||
icon: {fileID: 21300000, guid: cbac4e45614549c4d94b9be26e6be1ae, type: 3}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0cd28404f3a6f144a9e4a6a0baf79636
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill3.asset
Normal file
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill3.asset
Normal file
@@ -0,0 +1,18 @@
|
||||
%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: 1760d8437a2da6d47a720947920bad93, type: 3}
|
||||
m_Name: Skill3
|
||||
m_EditorClassIdentifier:
|
||||
skillName: "\u6280\u80FD3"
|
||||
description: 3333333333333333333
|
||||
manaCost: 6
|
||||
icon: {fileID: 21300000, guid: 57997932622c8ba498e11b2243448623, type: 3}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c8866299e8f72bd4aae890acaa43ff60
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill4 1.asset
Normal file
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill4 1.asset
Normal file
@@ -0,0 +1,18 @@
|
||||
%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: 1760d8437a2da6d47a720947920bad93, type: 3}
|
||||
m_Name: Skill4 1
|
||||
m_EditorClassIdentifier:
|
||||
skillName: "\u6770\u5927\u5E08\u79D8\u6280"
|
||||
description: "\u6478\u9C7C\u589E\u52A0\u4E00\u70B9\u751F\u547D\u503C"
|
||||
manaCost: 8
|
||||
icon: {fileID: 21300000, guid: 098aab34649c1734fb7ce137811ea25e, type: 3}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4ca1b86a550c6f943a82309da0459cbf
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill4.asset
Normal file
18
Assets/TcgEngine/Resources/Skill测试用的/Data/Skill4.asset
Normal file
@@ -0,0 +1,18 @@
|
||||
%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: 1760d8437a2da6d47a720947920bad93, type: 3}
|
||||
m_Name: Skill4
|
||||
m_EditorClassIdentifier:
|
||||
skillName: "\u6280\u80FD4"
|
||||
description: 444444444444444
|
||||
manaCost: 8
|
||||
icon: {fileID: 21300000, guid: cbac4e45614549c4d94b9be26e6be1ae, type: 3}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3816ef10f4a113f4eb779248ed123c80
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
13
Assets/TcgEngine/Resources/Skill测试用的/SkillData.cs
Normal file
13
Assets/TcgEngine/Resources/Skill测试用的/SkillData.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "新测试技能", menuName = "测试/测试技能")]
|
||||
public class SkillData : ScriptableObject
|
||||
{
|
||||
public string skillName;
|
||||
public string description;
|
||||
public int manaCost;
|
||||
public Sprite icon;
|
||||
}
|
||||
11
Assets/TcgEngine/Resources/Skill测试用的/SkillData.cs.meta
Normal file
11
Assets/TcgEngine/Resources/Skill测试用的/SkillData.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1760d8437a2da6d47a720947920bad93
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/TcgEngine/Resources/SkyLadderData.meta
Normal file
8
Assets/TcgEngine/Resources/SkyLadderData.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 834bed5221de7b84387fbf6f4beaaef5
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
20
Assets/TcgEngine/Resources/SkyLadderData/SkyLadder.cs
Normal file
20
Assets/TcgEngine/Resources/SkyLadderData/SkyLadder.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SkyLadder : MonoBehaviour
|
||||
{
|
||||
private SkyLadderData data;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
data = Resources.Load<SkyLadderData>("SkyLadderData/SkyLadderData");
|
||||
for (int i = 1; i <= data.items.Length; i++)
|
||||
{
|
||||
var item = data.GetById(i);
|
||||
Debug.Log($"{item.RankName}");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
11
Assets/TcgEngine/Resources/SkyLadderData/SkyLadder.cs.meta
Normal file
11
Assets/TcgEngine/Resources/SkyLadderData/SkyLadder.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: abe34f720339dab4daea30fc99c86fa9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
63
Assets/TcgEngine/Resources/SkyLadderData/SkyLadderData.asset
Normal file
63
Assets/TcgEngine/Resources/SkyLadderData/SkyLadderData.asset
Normal file
@@ -0,0 +1,63 @@
|
||||
%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: 11d37928b05c300409dce9b21b0413c8, type: 3}
|
||||
m_Name: SkyLadderData
|
||||
m_EditorClassIdentifier:
|
||||
items:
|
||||
- Id: 1
|
||||
Rank: 1
|
||||
RankName: "\u9752\u94DC"
|
||||
Level: 5
|
||||
BeginStar: 1
|
||||
RankDownStar: 1
|
||||
MaxStar: 1
|
||||
WinGetStar: 2
|
||||
ExtraGetStar: 2
|
||||
LoseLostStar: 0
|
||||
LoseRankDown: 0
|
||||
RankScore: 0
|
||||
AITimes: 3
|
||||
AIDeck: 1
|
||||
WaitTime: 10
|
||||
MaxWaitTime: 0
|
||||
- Id: 2
|
||||
Rank: 1
|
||||
RankName: "\u9752\u94DC"
|
||||
Level: 4
|
||||
BeginStar: 1
|
||||
RankDownStar: 1
|
||||
MaxStar: 1
|
||||
WinGetStar: 2
|
||||
ExtraGetStar: 2
|
||||
LoseLostStar: 0
|
||||
LoseRankDown: 0
|
||||
RankScore: 0
|
||||
AITimes: 3
|
||||
AIDeck: 1
|
||||
WaitTime: 10
|
||||
MaxWaitTime: 0
|
||||
- Id: 3
|
||||
Rank: 1
|
||||
RankName: "\u9752\u94DC"
|
||||
Level: 3
|
||||
BeginStar: 1
|
||||
RankDownStar: 1
|
||||
MaxStar: 1
|
||||
WinGetStar: 2
|
||||
ExtraGetStar: 2
|
||||
LoseLostStar: 0
|
||||
LoseRankDown: 0
|
||||
RankScore: 0
|
||||
AITimes: 3
|
||||
AIDeck: 1
|
||||
WaitTime: 10
|
||||
MaxWaitTime: 0
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a88f56b5ce8ad340af1fdf352ecd7a0
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user