Files
back_cantanBuilding/Assets/Scripts/EventWashing/Stuff/StuffCleaningArea.cs
2026-05-26 16:15:54 +08:00

34 lines
802 B
C#

using PaintCore;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace game
{
[RequireComponent(typeof(Collider))]
public class StuffCleaningArea : LongPressStuffBase
{
#region
public override void StartAction(UnityAction<LongPressStuffBase> overAction)
{
this.transform.GetComponent<Collider>().enabled = true;
}
public override void StopAction()
{
this.transform.GetComponent<Collider>().enabled = false;
}
#endregion
#region
public override void InitStuff()
{
base.InitStuff();
m_Type = EventWashingStuffType.CleaningArea;
}
#endregion
}
}