![When using transform.position in Update by itself it tracks where my game object is in real time. But once I put it in an if statement it stops working and only gives When using transform.position in Update by itself it tracks where my game object is in real time. But once I put it in an if statement it stops working and only gives](https://i.redd.it/sqt0eh0aszp81.jpg)
When using transform.position in Update by itself it tracks where my game object is in real time. But once I put it in an if statement it stops working and only gives
![My unity pick up script isn't working. The transform variable won't highlight what do I do : r/Unity3D My unity pick up script isn't working. The transform variable won't highlight what do I do : r/Unity3D](https://i.redd.it/3owbdy543i981.jpg)
My unity pick up script isn't working. The transform variable won't highlight what do I do : r/Unity3D
![unity - Why is there a discrepancy between these two transform.up vectors? - Game Development Stack Exchange unity - Why is there a discrepancy between these two transform.up vectors? - Game Development Stack Exchange](https://i.stack.imgur.com/3lrWC.jpg)