数字とベクターで乗算します
d
で a
の各成分を乗算します
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { print(new Vector2(1, 2) * 2.0F); } }
数字とベクターで乗算します
d
で a
の各成分を乗算します
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Example() { print(2.0F * new Vector2(1, 2)); } }
Multiplies a vector by another vector.
Multiplies each component of a
by its matching component from b
.