Version: 2023.1

Sprite.RemoveScriptableObjectAt

切换到手册
public bool RemoveScriptableObjectAt (uint i);

参数

i The index of the ScriptableObject reference to remove.

返回

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

描述

Removes the ScriptableObject reference from the sprite.

Refer to Sprite.GetScriptableObjects for sample usage.