ide-get-prefab-inheritance
Retrieves all parent prefabs in the inheritance chain of a given prefab, indicating if it is a prefab variant. Returns empty array if no parent prefabs.
Instructions
Get an array of all the prefabs that are part of the inheritance of the given prefab. A prefab can inherit another prefab. We call it a prefab variant. If the result is an empty array it means the given prefab is not a variant any other prefab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefabId | Yes | The ID of the prefab scene to get the inheritance from. The `prefabId` is the same of the id of referring prefab scene. |