RemoveScriptableObjectAt(uint)
Removes the ScriptableObject reference from the sprite.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool RemoveScriptableObjectAt(uint i)
Parameters
The index of the ScriptableObject reference to remove.
Returns
Type | Description |
|---|---|
| bool | Returns true if the reference is removed. Returns false if the sprite is not referencing the ScriptableObject. |
Remarks
Refer to Sprite.GetScriptableObjects for sample usage.