//private string currentScene; // Use this for initialization void Start() { touchBeganDict = new Dictionary <int, int>(); currentScene = SceneManager.GetActiveScene().buildIndex; notePlayStop = MainContainer.GetComponentInChildren <NotePlayStop>(); }
void Awake() { notePlayStop = GetComponent <NotePlayStop>(); buildIndex = SceneManager.GetActiveScene().buildIndex; }
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>(); }