Method CreateOrMoveEntry
CreateOrMoveEntry(String, AddressableAssetGroup, Boolean, Boolean)
Create a new entry, or if one exists in a different group, move it into the new group.
Declaration
public AddressableAssetEntry CreateOrMoveEntry(string guid, AddressableAssetGroup targetParent, bool readOnly = false, bool postEvent = true)
Parameters
| Type | Name | Description |
|---|---|---|
| String | guid | The asset guid. |
| AddressableAssetGroup | targetParent | The group to add the entry to. |
| Boolean | readOnly | Is the new entry read only. |
| Boolean | postEvent | Send modification event. |
Returns
| Type | Description |
|---|---|
| AddressableAssetEntry |