I’m wondering how to access to an object position from a script attached to other object.
Example
In the RayCasting example, i just want to move a little bit the camera position when a click is made on a cube.
from the RaycastingScript
var camera = Entity.Get() ; // but camera is not an Entity
so I want to do something like this
"camera".transform.position = new Vector3(0,1,0);
How can i do that??
Thank you in advance.