burgelkat Posted October 5 Posted October 5 This is for C++ Class: Component Lua C++ Edit Component::GetEntity This method retrieves the entity the component is attached to. Syntax shared_ptr<Entity> GetEntity() Returns Returns the component's entity. Copyright © 2006-2025 Leadwerks Software. All rights reserved. for LUA : Lua C++ Edit 404: Not Found Copyright © 2006-2025 Leadwerks Software. All rights reserved. 1 Quote
Solution Josh Posted October 7 Solution Posted October 7 Lua does not need this command because the entity is the object itself. 1 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.