GetVector3

GetVector3(string, Vector3)

public Vector3 GetVector3(string name, Vector3 defaultValue) ;

Description

Get the value of the Vector3 type.

Parameters

Parameter Name Description
name Name.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetVector3(string)

public Vector3 GetVector3(string name) ;

Description

Get the value of the Vector3 type.

Parameters

Parameter Name Description
name Name.

Returns

The value of the parameter. If there is no parameter, it returns Vector3.zero.

GetVector3(int, Vector3)

public Vector3 GetVector3(int id, Vector3 defaultValue) ;

Description

Get the value of the Vector3 type.

Parameters

Parameter Name Description
id ID.
defaultValue Default value. It is returned when there is no parameter.

Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

GetVector3(int)

public Vector3 GetVector3(int id) ;

Description

Get the value of the Vector3 type.

Parameters

Parameter Name Description
id ID.

Returns

The value of the parameter. If there is no parameter, it returns Vector3.zero.

GetVector3(string, out Vector3)

Obsolete public bool GetVector3(string name, out Vector3 value) ;

Description

Get the value of the Vector3 type.

Parameters

Parameter Name Description
name Name.
value The value you get.

Returns

The true when there parameters of the specified name.

GetVector3(int, out Vector3)

Obsolete public bool GetVector3(int id, out Vector3 value) ;

Description

Get the value of the Vector3 type.

Parameters

Parameter Name Description
id ID.
value The value you get.

Returns

The true when there parameters of the specified name.