Detecting if player is hitting or looking at a tree?
How would i detect if im hiting a tree or any other resorces?
It has type treeentity and also you could check for prefab name.