13 lines
214 B
C#
13 lines
214 B
C#
using UnityEngine;
|
|
|
|
public class PC_LooseEvent : MonoBehaviour,ILoose
|
|
{
|
|
public void Loose()
|
|
{
|
|
if(TryGetComponent(out MouseDragObj drag))
|
|
{
|
|
drag.isDrag = false;
|
|
}
|
|
}
|
|
}
|