- Home /
Using tags in edit and build
My tags doesn't seen to work in my build but works perfectly in my edit version :
if (hit.collider != null && hit.collider.gameObject.CompareTag("BaseBallBat")) {
NetworkServer.Destroy(hit.collider.gameObject);
}
Comment
Your answer
Follow this Question
Related Questions
Unet Instantiate 0 Answers
Distribute terrain in zones 3 Answers
Game works when i use "build and run" and in the game tab, but not when i build it as an EXE 0 Answers
Can I use not LAN IP in Network Manager? 0 Answers
UNET Direct IP Connection not working 0 Answers