| 103 | } |
| 104 | |
| 105 | void GetComponentFromLua(lua_State* L, int index, const char* component_type, dmGameObject::HComponentWorld* out_world, dmGameObject::HComponent* component, dmMessage::URL* url) |
| 106 | { |
| 107 | dmGameObject::HInstance instance = CheckGOInstance(L, index); |
| 108 | dmGameObject::HCollection collection = dmGameObject::GetCollection(instance); |
| 109 | dmGameObject::GetComponentFromLua(L, index, collection, component_type, component, url, out_world); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 |