예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     scenePassThroughDataRef = GameObject.FindGameObjectWithTag("ScenePassThroughData").GetComponent <ScenePassThroughData>();
     startButton.onClick.AddListener(startTutorial);
 }
예제 #2
0
 void Start()
 {
     scenePassThroughDataRef = ScenePassThroughData.GetData();
     imageToFade.gameObject.SetActive(false);
 }