WXGame/box1/Assets/Script/TravelEvent.cs

28 lines
526 B
C#
Raw Normal View History

2024-11-21 09:35:48 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TravelEvent
{
public virtual void PlayerEvent(int eventID, float lengh, float speed,float time)
{
}
}
public class GoEndPointEvent : TravelEvent
{
public override void PlayerEvent(int eventID, float lengh, float speed,float time)
{
}
}
public class SpeedUpEvent : TravelEvent
{
public override void PlayerEvent(int eventID, float lengh, float speed,float time)
{
}
}