Make stuff not public if it doesn't need to be
This commit is contained in:
@@ -7,7 +7,7 @@ public class DraggableUI : MonoBehaviour, IDragHandler, IBeginDragHandler
|
||||
{
|
||||
public static DraggableUI Instance;
|
||||
private Vector2 offset;
|
||||
public string uiName;
|
||||
[SerializeField] private string uiName;
|
||||
public bool canDrag = false;
|
||||
|
||||
private readonly List<GameObject> outlineSides = new();
|
||||
|
||||
Reference in New Issue
Block a user