Class BakingOnlyEntityAuthoring
Add a BakingOnlyEntity authoring component to your game object to mark it as Bake Only. It and all children will be stripped out before they appear in the live game world. Its additional entities and its children additional entities are exempt from this and will appear in the live game world.
Inherited Members
Component.GetComponentIndex()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Scene)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Entities.Hybrid.Baking
Assembly: Unity.Entities.Hybrid.dll
Syntax
[DisallowMultipleComponent]
public class BakingOnlyEntityAuthoring : MonoBehaviour