-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You actually need to add
For an Lastly, you don't apply a transform to an asset. You do that to an entity which holds a handle to an asset. I think that's what you meant, but I just wanted to make that clear. |
Beta Was this translation helpful? Give feedback.
-
How to do that? I thought .add_system only for function.
I see, so if the first param &self (lower case S), it mean the instance which called. So I can't use Assets::get() directly. I need to use an instance to call get right? that's why you use 'assets.get(&handle)'
I think I got confused in here because I don't really get what component,entity means. thanks for the reply, I will try to re read the concept again before jump into the code. |
Beta Was this translation helpful? Give feedback.
I mean add it to your function params: