Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetScriptableObjectAt(ScriptableObject, uint)

Replace the ScriptableObject reference from the sprite.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool SetScriptableObjectAt(ScriptableObject obj, uint i)

Parameters

The new ScriptableObject to reference.

The index of the ScriptableObject reference to be replaced.

Returns

Type

Description

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