using UnityEngine;
namespace HQFPSWeapons
{
///
///
///
public class Singleton : MonoBehaviour where T : MonoBehaviour
{
public static T Instance
{
get
{
if(m_Instance == null)
m_Instance = FindObjectOfType();
return m_Instance;
}
}
private static T m_Instance;
}
}