• Alex G@infosec.exchange
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    @turbohz oh hell yea. Godot is pretty cool. Honestly, I think it’s the first of the more notable engines to actually have Rust integration. Unreal would be way better if you could use Rust. I tried the C# stuff for a while and I just disliked the language a lot (used it professionally for years too)

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Looking at the example code of Export Groups, I don’t understand why a #[export] is needed, if there is already a #[export_group(...)] or #[export_subgroup(...)] . Its surely possible in Rust to automatically invoke #[export] if one of the group-macros are invoked, right?

    • TitanNano@vger.social
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      In the initial implementation, export groups have been added as an independent attribute. One attribute creates groups, and the other marks fields for exporting. So yes, this is not being auto-inferred right now, but it could probably be added.