예제 #1
0
    //Pause Menu

    // Use this for initialization
    void Start()
    {
        logScreenInterface = LogScreenInterface.inst;
        if (logScreenInterface == null)
        {
            Debug.Log("logScreenInterface Has Not Been Found in " + gameObject.name);
        }

        logScreenInterface.SetButtonsInteractable(false);
    }
 void Awake()
 {
     if (inst == null)
     {
         inst = this;
     }
     else
     {
         Debug.Log("LogScreenInterface destroyed on '" + gameObject.name + "'. Are there duplicates in the scene?");
         DestroyImmediate(this);
     }
 }