Files
taptap2024_GJ_chidouren/Assets/Scripts/Game/Component/SceneProp/WhiteProp.cs
2024-10-19 03:04:15 +08:00

15 lines
382 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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);
}
}
}