void OnTriggetExit(Collider other)
{
if(other.tag ==“Player”)
{
bossController.bossAwake = true;
collider.isTrigger = false;
void OnTriggetExit(Collider other)
{
if(other.tag ==“Player”)
{
bossController.bossAwake = true;
collider.isTrigger = false;
The collider instance that gets passed into that script is named “other”. So, to access it…
other.isTrigger = false;