Maksymilian Mozolewski
Maksymilian Mozolewski
Hmm are you sure? I added the "{T}" bit to my "LuaVec" which allowed me to index the vector with integers
This appears in the teal-lang docs, and is what I am talking about: ```lua -- an arrayrecord: a record which doubles as a record and an array local record TreeNode...
The record is this right now: ```lua record LuaVec userdata -- Mutating methods push: function(LuaVec,any):() pop: function(LuaVec):(any) clear: function(LuaVec):() insert: function(LuaVec,(integer),(any)):() remove: function(LuaVec,integer):(any) -- Meta methods metamethod __tostring: function(LuaVec):(string) metamethod...
Yeah it does feel like it, although I don't think teal ever had support for these in the first place, I tried looking for these in commits but no mention...
This is already the case, you might be confusing the dummy types in the generated provider files with the proxies which are generated by the macro. All proxies have a...
Hmm this should already work, is the Entity type imported and in scope? What's the exact error? And can you try proxying without an inlined body? (I.e. implement this function...
Try: ```rust #[derive(..., Reflect, LuaProxy)] #[reflect(LuaProxyable)] #[proxy( derive(clone), function[ r#" #[lua(kind = "MutatingMethod")] fn(&mut self, #[proxy] entity: Entity) "# ] )] pub struct GarrisonedCharacter(Vec) Impl GarrisonedCharacter { pub fn add(&mut...
Oh I see the LuaEntity type is not in scope, can you import that
> I can't. That's exactly what I was asking about, since LuaEntity doesn't seem to appear in `bevy_mod_scripting`, `bevy_mod_scripting_lua`, `bevy_mod_scripting_lua`, `bevy_mod_scripting_core` or `bevy_script_api`. I had to import all of those...
Closing as these macros no longer exist since 0.9.0!