Пример #1
0
    // 파일경로 탐색후 값 읽어오기
    private void Awake()
    {
        if (instance != null)
        {
            Destroy(this.gameObject);
            return;
        }
        instance = this;
        DontDestroyOnLoad(this.gameObject);

#if (UNITY_EDITOR || UNITY_STANDALONE_WIN)
        filePath += ("file:///");
        filePath += (Application.streamingAssetsPath + "/" + fileName_2);
#elif UNITY_ANDROID
        filePath += Application.streamingAssetsPath + "/" + fileName_2;
#endif
        Debug.Log("KBY !!!: " + filePath);
    }
 void Awake()
 {
     //quiz_XML_Reader = FindObjectOfType<Quiz_XML_Reader>();
     society_Quiz2 = FindObjectOfType <Society_Quiz2>();
 }