Sprite.AddScriptableObject

Declaration

public bool AddScriptableObject(ScriptableObject obj);

Parameters

obj The ScriptableObject reference to add.

Returns

bool Returns true if the reference is added. Returns false if the sprite is already referencing the ScriptableObject .

Description

Adds a ScriptableObject reference to the sprite.

Refer to Sprite.GetScriptableObjects for sample usage.


Did you find this page useful? Please give it a rating: