Vector2.Scalefunction Scale (scale : Vector2) : voidDescriptionMultiplies every component of this vector by the same component of scale. static function Scale (a : Vector2, b : Vector2) : Vector2DescriptionMultiplies two vectors component-wise. Every component in the result is a component of a multiplied by the same component of b.
JavaScript
// prints (2.0,6.0) using UnityEngine; import UnityEngine |
