增加场景道具

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

@@ -0,0 +1,15 @@
using Game.EventDefine;
using UnityEngine;
namespace Game.Component.SceneProp
{
public class WhiteProp : BaseProp
{
[SerializeField] private float _duration = 1.5f;
protected override void OnTrigger (PlayerEntity entity)
{
Debug.Log ("wtf");
GameEventDefine.GlobalRunaway.SendMessage (this._duration);
}
}
}