23 lines
514 B
C#
23 lines
514 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class DraggablesManager : MonoBehaviour
|
|
{
|
|
[HideInInspector] public bool IsDragging;
|
|
//[HideInInspector] public bool IsDraggingDrawer;
|
|
//[HideInInspector] public bool IsDraggingWindow;
|
|
|
|
private static DraggablesManager _instance;
|
|
public static DraggablesManager GetInstance() { return _instance; }
|
|
|
|
void Awake()
|
|
{
|
|
if (!_instance)
|
|
{
|
|
_instance = this;
|
|
}
|
|
}
|
|
|
|
}
|