virtual public void InitSphere(float rad, Vector3 loc) { sphereRad = rad; sphereLoc = loc; _detectFunc = SphereCastDetect; }
virtual public void InitBox(Vector3 dim, Vector3 loc) { boxDim = dim; boxLoc = loc; _detectFunc = BoxCastDetect; }