public bool IsGameObjectIn(GameObject box1, GameObject box2) { Vector3 size = box2.transform.localScale; Vector3 position = box2.transform.position; return OOBCollisionDetection.AreBoxexOverlapping(box1, size, position); }