Search Unity

Serialized string or nativestring in inspector [GenerateAuthoringComponent]

Discussion in 'Entity Component System' started by toomasio, Jan 21, 2020.

  1. toomasio

    toomasio

    Joined:
    Nov 19, 2013
    Posts:
    199
    Hello,

    I am trying to get a string to be serialized in the new [GenerateAuthoringComponent] workflow but strings do not seem to be working. Is there some way to serialize strings in the inspector using the new workflow? Or do we still have to use monobehaviour?

    Thanks,
     
    Vlasov_VV and tonialatalo like this.
  2. Vlasooff

    Vlasooff

    Joined:
    Nov 8, 2019
    Posts:
    2
    I also faced the same problem
     
    Vlasov_VV likes this.
  3. Vlasov_VV

    Vlasov_VV

    Joined:
    Mar 9, 2018
    Posts:
    6
    And i also faced the same problem
     
  4. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,555
    You still need to use monobehaviour and IConvertGameObjectToEntity for string as of 0.6.0
     
    toomasio likes this.