RaptorModelStorageSlots.LoadOp
Loads the saved source at prefabPath, or selects the scene copy if it is already loaded.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | delegate | preview, since 0.1.0 |
public delegate GameObject LoadOp(string prefabPath, out string notice);Loads the saved source at prefabPath. If a model with that name is already loaded, selects the scene copy instead.
| Parameter | Type | Description |
|---|---|---|
prefabPath | string | The saved prefab. |
notice | out string | A short message for the user, or null. |
Returns: The scene object, or null.
Related types
- RaptorModelStorageSlots: Slots a model provider fills to replace Save, Save & unload, Load and Rename.