ドキュメント

Unity Engine

Unity Engine

RemoveScriptableObjectAt(uint)

Removes the ScriptableObject reference from the sprite.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.