ドキュメント

Unity Engine

Download Unity

Unity Engine

ICleanupSharedComponentData

An interface for a shared component that must be removed individually after its entity is destroyed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Interface
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public interface ICleanupSharedComponentData : ISharedComponentData, IQueryTypeParameter

Remarks

Cleanup components should only be added to individual entities at runtime. They will not be serialized during the baking process, will not be copied to entity instances during instantiation, and are not included when entities are copied between Worlds. See Cleanup Shared Components for additional information.