unity3dTransforms


Syntax

  • void Transform.Translate(Vector3 translation, Space relativeTo = Space.Self)
  • void Transform.Translate(float x, float y, float z, Space relativeTo = Space.Self)
  • void Transform.Rotate(Vector3 eulerAngles, Space relativeTo = Space.Self)
  • void Transform.Rotate(float xAngle, float yAngle, float zAngle, Space relativeTo = Space.Self)
  • void Transform.Rotate(Vector3 axis, float angle, Space relativeTo = Space.Self)
  • void Transform.RotateAround(Vector3 point, Vector3 axis, float angle)
  • void Transform.LookAt(Transform target, Vector3 worldUp = Vector3.up)
  • void Transform.LookAt(Vector3 worldPosition, Vector3 worldUp = Vector3.up)