rabidus-test/Assets/SnapZoneHelper.cs

19 lines
292 B
C#
Raw Permalink Normal View History

2023-10-02 19:12:35 +03:00
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;
}
}