private void OnDrawGizmos() { Vector3 point = Point.position; Box3 box = CreateBox3(Box); bool cont = box.Contains(point); FiguresColor(); DrawBox(ref box); if (cont) { ResultsColor(); } DrawPoint(point); LogInfo(cont); }
private void OnDrawGizmos() { Vector3 point = Point.position; Box3 box = CreateBox3(Box); bool cont = box.Contains(point); FiguresColor(); DrawBox(ref box); if (cont) { ResultsColor(); } DrawPoint(point); LogInfo(cont); }