static KeyCode SKIP_KEY = KeyCode.Return; //Bring up skip scene panel void Awake() { Reset(); ConstructDict(); musicManager = GameObject.FindGameObjectWithTag("Music").GetComponent <MusicManager>(); sequenceScript = GameObject.FindGameObjectWithTag("Sequence").GetComponent <SequenceFlowController>(); shakeScript = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <CamShakeScript>(); }
// Use this for initialization void Start() { deadCount = 0; unlockRequirement = 0; foreach (Transform child in transform) { if (child.tag == "Enemy") { unlockRequirement++; } } //TEMP TEMP TEMP sequenceScript = GameObject.FindGameObjectWithTag("Sequence").GetComponent <SequenceFlowController>(); }