How to use the “On Value Change” in Unity3D Input Field UI component

后端 未结 2 1803
说谎
说谎 2021-01-05 15:44

I\'m following a tutorial on how to work with Unity3d and I\'ve hit a dead end.

I believe something changed in a newer version of Unity since the tutorial seems to w

2条回答
  •  温柔的废话
    2021-01-05 16:20

    with your comment you just made it all clear. When you use the Dynamic Parameter, the value of your input entry is passed to your function. When you choose the Static Parameter, a new input box is shown in the inspector, for you to write the "static parameter" you want to receive.

    Not sure yet how this is useful. But it should make clear the difference.

提交回复
热议问题