ドキュメント

Unity Engine

Download Unity

Unity Engine

CreateSingletonBuffer<T>(FixedString64Bytes)

Creates and supports only a single entity with a given unmanaged component buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public Entity CreateSingletonBuffer<T>(FixedString64Bytes name = default) where T : unmanaged, IBufferElementData

Parameters

The debug friendly name associated with the singleton component buffer entity.

Returns

Type

Description

EntityThe Entity object that you can use to access the singleton component buffer entity.