文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetVector(string)

Gets a vector property value by name.
阅读时间1 分钟最后更新于 24 天前

Definition

public Vector4 GetVector(string name)

Parameters

name

The property name of the vector value.

Returns

Type

Description

Vector4The vector property stored for the specified name, or the zero vector if none.