Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

About [SerializeField] private...

Discussion in 'Scripting' started by onHead, Jun 11, 2019.

  1. onHead

    onHead

    Joined:
    Feb 11, 2016
    Posts:
    17
    sample code
    [SerializeField] private string _item_name;

    When the prefab variable value was changed to code during execution, the value was displayed in real time, and after the execution ended, the value was saved. (Unity 2017)

    After updating my project to Unity 2018.4.2f, the changed values are neither shown in real time nor saved after execution.

    What's changed in the unity 2018 prefab?
     
  2. palex-nx

    palex-nx

    Joined:
    Jul 23, 2018
    Posts:
    1,748