This version of Unity is unsupported.

Sprite.RemoveScriptableObjectAt

Declaration

public bool RemoveScriptableObjectAt(uint i);

Parameters

i The index of the ScriptableObject reference to remove.

Returns

bool Returns true if the reference is removed. Returns false if the sprite is not referencing the ScriptableObject.

Description

Removes the ScriptableObject reference from the sprite.

Refer to Sprite.GetScriptableObjects for sample usage.