fixed item system
This commit is contained in:
@ -43,7 +43,6 @@ public class PistolComponent : MonoBehaviour
|
||||
RaycastHit hit;
|
||||
if (Physics.Raycast(ray, out hit, 50))
|
||||
{
|
||||
print(hit.transform.name);
|
||||
targetObject.gameObject.transform.position = hit.point;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user