Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Feature Request Support for Mathematics package

Discussion in 'UI Toolkit' started by Sylmerria, Jun 14, 2019.

  1. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    369
    Hi team,

    Do you have plans ( I image yes ) for support float2/3/4, int2/3/4, etc ...

    And have you a version targeted, 19.3 ?

    Thanks
     
    Last edited: Jun 14, 2019
  2. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    780
    Hello,

    Can you clarify what you mean by "support float2/3/4, int2/3/4" ?

    Thanks
     
  3. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    369
    I mean add binding controllers for all int and float variations like describe here
     
    Last edited: Jun 15, 2019
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,809
    DOTS uses int and floats as vectors, in their math package. Also the link I to your disk directory.
     
  5. Sylmerria

    Sylmerria

    Joined:
    Jul 2, 2012
    Posts:
    369
    You mean Unity use Vector3 for float3 and Vector3Int for int3 ? oh I see

    Indeed, fixed
     
  6. antoine-unity

    antoine-unity

    Unity Technologies

    Joined:
    Sep 10, 2015
    Posts:
    780
    Hello,

    Right now the solution for this is to use Vector3Field or Vector2Field and perform a conversion from/to the Mathematics types. It is not perfect as it does not support data binding so I'm taking not of this request as will keep it in mind as the DOTS Editor story evolves.

    Thanks.