Typing “if (player.gameObject)” is the same as typing “if (player.gameObject != null)”. How does Unity return a bool for a GameObject?
I have a class, Node, that has a few variables including “position”. Is there a way I can have it so you can type “return node_” instead of “return node*.position” to return its position easier?*_