You've already forked taptap2024_GJ_chidouren
增加场景道具
This commit is contained in:
18
Assets/Scripts/Game/Component/SceneProp/NormalLightProp.cs
Normal file
18
Assets/Scripts/Game/Component/SceneProp/NormalLightProp.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Game.EventDefine;
|
||||
|
||||
namespace Game.Component.SceneProp
|
||||
{
|
||||
public class NormalLightProp : BaseProp
|
||||
{
|
||||
protected override void OnReady ()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override void OnTrigger (PlayerEntity entity)
|
||||
{
|
||||
GameEventDefine.OverlyCoin.SendMessage (1);
|
||||
//此处可以增加交互反馈
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user