• Breaking News

    Script classes nested GetAdressOfProperty I couldnt find any example of this so im wondering if you support in angelscript. So the scenerio is that I have these two script classes. Class B { int IntValue; float FloatValue; } class A { class B; } So class "A" is my scriptObject that i then perform the GetPropertyCount. I iterate through each property (There is only one) And I do GetAddressOfProperty which returns me a void* to class "B". Now i have the type information for class B, so I then want to iterate through each property information for class "B". Is there a way through the API for me to access the address of that "A.B.IntValue". ?? If you have any questions let me know https://ift.tt/eA8V8J

    I couldnt find any example of this so im wondering if you support in angelscript. So the scenerio is that I have these two script classes. Class B { int IntValue; float FloatValue; } class A { class B; } So class "A" is my scriptObject that i then perform the GetPropertyCount. I iterate through each property (There is only one) And I do GetAddressOfProperty which returns me a void* to class "B". Now i have the type information for class B, so I then want to iterate through each property information for class "B". Is there a way through the API for me to access the address of that "A.B.IntValue". ?? If you have any questions let me know

    from GameDev.net https://ift.tt/2XnGi2L

    ليست هناك تعليقات

    Post Top Ad

    ad728

    Post Bottom Ad

    ad728