// Use this for initialization void Start() { once = false; dc = dcObject.GetComponent<DestroyControls> (); ca = cameraAniObject.GetComponent<CameraAnimation> (); ch = chatHandlerObject.GetComponent<ChatHandler> (); vui = volumeUiObject.GetComponent<VolumeUI> (); introString = introLinesFile.text; char[] delimitingChars = {'\n'}; introLines = introString.Split (delimitingChars); }
void Start() { peh = primaryEventHandlerObj.GetComponent<PrimaryEventHandler> (); vui = volumeUiObject.GetComponent<VolumeUI> (); pv = player.GetComponent<PlayerVolume> (); psfx = player.GetComponent<PlayerSoundFX> (); overLocked = false; onUIExit = false; }