예제 #1
0
 private void OnDestroy()
 {
     if (Instance != null)
     {
         Instance = null;
     }
 }
예제 #2
0
    private void Awake()
    {
        Instance = this;

        LoadImages();

        if (img != null)
        {
            img.gameObject.SetActive(false);
        }
    }