Method CreateOrMoveEntry
CreateOrMoveEntry(string, AddressableAssetGroup, bool, bool)
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. |
| bool | readOnly | Is the new entry read only. |
| bool | postEvent | Send modification event. |
Returns
| Type | Description |
|---|---|
| AddressableAssetEntry |