Simple Main Menu and UI Tutorial - Flax Engine

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 6

  • @mōellctie
    @mōellctie ปีที่แล้ว +2

    Nice stuff, abra!!

  • @blokador
    @blokador ปีที่แล้ว

    Thanks for this tutorial. For the time I have been exploring the engine, I came up with another idea for next video: adding a child to any actor. Because I found two methods for that: addchild(Type type) and addchild(). I think It'd be important to explain how to use them.

    • @MineBill_
      @MineBill_ ปีที่แล้ว

      This is really C# specific and has nothing to do with Flax. The first version requires the type as an argument which you can get with typeof(). The reason you use this instead of the generic one(with AddChild()) is for stuff like reflection. When using reflection you can't call the generic method directly and need to include some boilerplate code, so it makes things a bit nicer.

    • @blokador
      @blokador ปีที่แล้ว

      @@MineBill_ But what if we created the actor variable with predefined parameters in code and want to add it to any actor in hierarchy? I just have no competence to talk about reflections through above-mentioned methods, but I think the game developer has to know how to add child. Even If it's not done with these methods

  • @aliega-studios
    @aliega-studios 7 หลายเดือนก่อน

    @abradotcs hey did you make engine it's locks good

  • @chaosmachines934
    @chaosmachines934 6 หลายเดือนก่อน

    can i make my own UI if i have png files
    like is it possible to use theme in flax
    like the same way godot has his UI set up