// Start is called before the first frame update void Start() { currDuration = -10; currCooldown = -10; canActivateVoid = true; inVoid = false; baseFOV = 80f; cineCam.m_Lens.FieldOfView = baseFOV; interpolationVal = 2; speedLines.SetActive(false); va = GetComponent <VoidAudio>(); mat.SetInt("_VoidActive", 0); playerMat.SetInt("_IsShaderActive", 0); }
// Start is called before the first frame update void Start() { anim = GetComponent <Animator>(); va = GetComponent <VoidAudio>(); }