rabidus-test/Assets/SnapZoneHelper.cs

19 lines
292 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SnapZoneHelper : MonoBehaviour
{
public bool IsSnaped;
public void SnapObject()
{
IsSnaped = true;
}
public void ReleaseObject()
{
IsSnaped = false;
}
}