class Oid::Components::Asset
- Oid::Components::Asset
- Entitas::Component
- Reference
- Object
Overview
Check to see if the component is a sub-class of ::Entitas::Component
Defined in:
oid/components/stage.crClass Method Summary
-
.is_unique? : Bool
If the component has the unique annotation, set the class method to
true
The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context
Instance Method Summary
-
#is_unique? : Bool
If the component has the unique annotation, set the class method to
true
The framework will make sure that only one instance of a unique component can be present in your context Will return true if the class is a unique component for a context - #name : String
- #name=(name : String | Nil)
- #name? : Bool
- #origin : Oid::Enum::OriginType
- #origin=(origin : Oid::Enum::OriginType)
- #origin? : Bool
- #type : Oid::Enum::AssetType
- #type=(type : Oid::Enum::AssetType | Nil)
- #type? : Bool
Class Method Detail
If the component has the unique annotation,
set the class method to true
The framework will make sure that only one instance of a unique component can be present in your context
Will return true if the class is a unique component for a context
Instance Method Detail
If the component has the unique annotation,
set the class method to true
The framework will make sure that only one instance of a unique component can be present in your context
Will return true if the class is a unique component for a context