Beispiel #1
0
    //private string currentScene;

    // Use this for initialization
    void Start()
    {
        touchBeganDict = new Dictionary <int, int>();
        currentScene   = SceneManager.GetActiveScene().buildIndex;
        notePlayStop   = MainContainer.GetComponentInChildren <NotePlayStop>();
    }
Beispiel #2
0
 void Awake()
 {
     notePlayStop = GetComponent <NotePlayStop>();
     buildIndex   = SceneManager.GetActiveScene().buildIndex;
 }
Beispiel #3
0
 void Start()
 {
     notePlayStop = GameObject.Find("Keyboard").GetComponent <NotePlayStop>();
     dictChannel  = new Dictionary <string, int>();
     //dictCollision = new Dictionary<GameObject, int>();
 }
 void Start()
 {
     notePlayStop = GameObject.Find("Keyboard").GetComponent <NotePlayStop>();
     noteTrigger  = GameObject.Find("NoteTrigger").GetComponent <NoteTrigger>();
 }