Class CustomPrefabExtensions
Represents extension methods for the CustomPrefab class.
public static class CustomPrefabExtensions
- Inheritance
-
CustomPrefabExtensions
- Inherited Members
Methods
RemoveFromCache(CustomPrefab)
Removes the current prefab from the prefab cache and doesn't allow it to get cached later.
public static ICustomPrefab RemoveFromCache(this CustomPrefab customPrefab)
Parameters
customPrefab
CustomPrefab- The custom prefab to remove from the prefab cache.
Returns
- ICustomPrefab
- A reference to this instance after the operation has completed.