Okay, so I know people ask this a lot but this is a specific question (I already basically know how to do it)
I’m trying to access a script inside a particular object and call a function in it, I essentially just copied the code from unity script reference that says how to do that.
var ConPlat = GameObject.FindWithTag("AntiCore");
ConPlat.GetComponent(CollideCounter).Damage(MissDamage);
But it keeps saying that on that second line that “object reference not set to an instance of an object”. I know it’s not talking about MissDamage because that’s an int, and there is a script called CollideCounter, and the object that has that script does have a “Core” tag. So I’m confused.