Class MissingComponentException
- Namespace
- Frent
- Assembly
- Frent.dll
An exception that is thrown when an entity is missing a required component during an update.
public class MissingComponentException : Exception, ISerializable
- Inheritance
-
MissingComponentException
- Implements
- Inherited Members
Constructors
MissingComponentException(Type, Type, Entity)
An exception that is thrown when an entity is missing a required component during an update.
public MissingComponentException(Type componentType, Type expectedType, Entity invalidEntity)
Parameters
Properties
ComponentType
The dependent component type that caused the exception.
public Type ComponentType { get; }
Property Value
InvalidEntity
The entity on which ComponentType exists but MissingComponent is missing.
public Entity InvalidEntity { get; }
Property Value
MissingComponent
The component dependency that is missing.
public Type MissingComponent { get; }