tida v0.1.3 (2022-04-24T19:31:37Z)
Home
Dub
Repo
Instance.cmp
tida
instance
Instance
Finds a component by its name.
T
cmp
()
Component
cmp
(string name)
class
Instance
@
safe
final
Component
cmp
(
string
name
)
Parameters
name
string
Component name.
Meta
Source
See Implementation
tida
instance
Instance
constructors
this
functions
add
cmp
destroy
dissconnect
dissconnectAll
getComponents
isDestroy
spriteDraw
properties
colliders
collisionFunctions
variables
_destroy
active
components
depth
events
id
mask
name
onlyDraw
persistent
position
previous
solid
sprite
tags
threadid
visible
Finds a component by its name.