Vector3.operator -static operator - (a : Vector3, b : Vector3) : Vector3DescriptionSubtracts one vector from another. Subtracts each component of b from a.
JavaScript
// prints (-5.0,-3.0,-1.0) using UnityEngine; import UnityEngine static operator - (a : Vector3) : Vector3DescriptionNegates a vector. Each component in the result is negated.
JavaScript
// prints (-1.0,-2.0,-3.0) using UnityEngine; import UnityEngine |
