Search Unity

Inspector: entity half4 missing properties

Discussion in 'Entity Component System' started by Antypodish, Sep 5, 2018.

  1. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,778
    Halfs appears to not have inspector properties
    Probably applies to other halfN too.

    upload_2018-9-5_12-10-6.png
     
  2. Adam-Mechtley

    Adam-Mechtley

    Administrator

    Joined:
    Feb 5, 2007
    Posts:
    290
    Hi! The reason for this is because the bits for a half are actually stored in a (private) short field, and the property grid only walks through public/serializable types. That said, the half types are currently in an undecided state and may be swapped for conversion routines instead of an auto-converting type. If it is decided they are to be left as-is, then this will be fixed.
     
    JesOb, optimise and Antypodish like this.