文档

Unity Engine

Unity Engine

GetScriptableObjectsCount()

Gets the number of ScriptableObject that the sprite references.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public uint GetScriptableObjectsCount()

Returns

Type

Description

uintReturns the number of ScriptableObject that the sprite is referencing.

Remarks

Refer to Sprite.GetScriptableObjects for sample usage.