Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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

Remarks

Refer to Sprite.GetScriptableObjects for sample usage.