示例#1
0
 void OnLevelFinishedLoading(UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode)
 {
     mBackText = FindObjectOfType <BackText>();
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     mBackText = FindObjectOfType <BackText>();
     DontDestroyOnLoad(this);
 }