provaengine ~master (2022-05-08T15:19:44.1677855)
Dub
Repo
Entity.attach
prova
entities
entity
Entity
Makes the passed entity a child of this entity
void
attach
(Entity entity)
class
Entity
final
void
attach
(
Entity
entity
)
void
attach
(Collider2D collider)
void
attach
(AudioSource source)
void
attach
(Renderable renderable)
Meta
Source
See Implementation
prova
entities
entity
Entity
functions
addTag
attach
detach
draw
getLocalTransformMatrix
getScreenPosition
getWorldPosition
getWorldRotation
getWorldScale
getWorldTransformMatrix
hasTag
lookAt
onCollision2D
onCollisionEnter2D
onCollisionExit2D
removeTag
setup
start
update
properties
game
input
parent
scene
variables
_scene
audioSources
children
colliders2d
friction
isSetup
position
rotation
scale
velocity
Makes the passed entity a child of this entity