文档

Unity Engine

Unity Engine

SetScriptableObjectAt(ScriptableObject, uint)

Replace the ScriptableObject reference from the sprite.
阅读时间1 分钟最后更新于 1 个月前

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.