Unity3D – Position of a GameObject – JavaScript
// Move the object to (0, 0, 0) transform.position = Vector3(0, 0, 0); // Print the x component of the position to the Console print(transform.position.x);
Unity3D – Position of a GameObject – JavaScript
// Move the object to (0, 0, 0) transform.position = Vector3(0, 0, 0); // Print the x component of the position to the Console print(transform.position.x);
Copyright notice: any total or partial reproduction of the content is forbidden without previous authorisation by the Author. Copyright ©2013-2024, all rights reserved.
Comments are closed.