Documentation

Unity Engine

Unity Engine

SetScriptableObjectAt(ScriptableObject, uint)

Replace the ScriptableObject reference from the sprite.
Read time 1 minuteLast updated 2 months 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.