Version: 2023.1

Sprite.SetScriptableObjectAt

切换到手册
public bool SetScriptableObjectAt (ScriptableObject obj, uint i);

参数

obj The new ScriptableObject to reference.
i The index of the ScriptableObject reference to be replaced.

返回

bool Returns true if the reference is replaced. Returns false otherwise.

描述

Replace the ScriptableObject reference from the sprite.