示例#1
0
 // Use this for initialization
 void Start()
 {
     button    = this.GetComponent <Button>();
     sceneFlow = FindObjectOfType <SceneFlow>();
     firebase  = FindObjectOfType <FirebaseAPI>();
     button.onClick.AddListener(SceneChange);
 }