增加场景道具

This commit is contained in:
2024-10-19 03:04:15 +08:00
parent f7d5f98604
commit 4a9f891d76
79 changed files with 1674 additions and 27 deletions

View File

@@ -1,10 +0,0 @@
using System;
using System.Collections.Generic;
using Framework.Utils.Extend;
using UniFramework.Event;
using UnityEngine;
namespace Game.EventDefine
{
}

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: ba62c151770040a98e38fb54a9a2acf4
timeCreated: 1718704279

View File

@@ -20,7 +20,18 @@ namespace Game.EventDefine
overlyCoin = overlyCoin
});
}
public class GlobalRunaway : IEventMessage
{
public float Duration { get; private set; }
private GlobalRunaway ()
{
}
public static void SendMessage (float duration) => UniEvent.SendMessage (new GlobalRunaway () { Duration = duration });
}
/// <summary>
/// 改变游戏状态
/// </summary>
@@ -40,7 +51,6 @@ namespace Game.EventDefine
}
}
public class ShowTextHub : IEventMessage
{
public string text;