【测试】
parent
54c4e88145
commit
5a8545c5b2
|
@ -51,6 +51,7 @@ namespace Framework.Manager
|
|||
[LabelText("对应组")] public int conditionGroup;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class BuildNode
|
||||
{
|
||||
[LabelText("挂点名称")] [ReadOnly] public string Name;
|
||||
|
@ -63,6 +64,8 @@ namespace Framework.Manager
|
|||
public BuildNode(string name)
|
||||
{
|
||||
this.Name = name;
|
||||
this.Options = new List<string>();
|
||||
this.IconPath = string.Empty;
|
||||
}
|
||||
|
||||
public BuildNode()
|
||||
|
|
|
@ -6,9 +6,18 @@ using Framework.Event;
|
|||
using Gameplay.Level;
|
||||
using Framework.UI;
|
||||
using PhxhSDK;
|
||||
using UnityEngine;
|
||||
|
||||
public partial class SROptions
|
||||
{
|
||||
[Category("临时测试"), DisplayName("读取文件")]
|
||||
public async void ReadFile()
|
||||
{
|
||||
var iconPath = "Assets/Art/GameBuild/Texture/Series_Spring/Node1/Icon/Grass_1.png";
|
||||
var sprite = await AssetManager.Instance.LoadAssetAsync<Sprite>(iconPath);
|
||||
DebugUtil.LogError("加载失败:{0}", sprite == null);
|
||||
}
|
||||
|
||||
[Category("关卡相关"), DisplayName("增加10s")]
|
||||
public void IncreaseTime()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue