기술 자료

Unity Engine

Unity Engine

Remove

Removes a variable with the specified name.
읽는 시간 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.