Method Duplicate
Duplicate(string, string)
Creates a new key and binds it to the same GameObject referenced by the specified key.
Declaration
public static void Duplicate(string id, string newId)
Parameters
Type | Name | Description |
---|---|---|
string | id | The existing key from which you want to create a duplicate. |
string | newId | The new key to create. |