ドキュメント

Unity Engine

Unity Engine

Remove

Removes a variable with the specified name.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

Remove(string)

Removes a variable with the specified name.
public bool Remove(string name)

Parameters

name

Name of the variable to remove.

Returns

Type

Description

bool
true
if a variable with the specified name was removed,
false
if one was not.

Remove(KeyValuePair<string, IVariable>)

Removes a variable with the specified key.
public bool Remove(KeyValuePair<string, IVariable> item)

Parameters

The item to be removed, only the Key field will be considered.

Returns

Type

Description

bool
true
if a variable with the specified name was removed,
false
if one was not.