Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Option to edit existing parameters types ?

Discussion in 'Unity Analytics' started by RafalKaminski, Jul 26, 2022.

  1. RafalKaminski

    RafalKaminski

    Joined:
    Jul 4, 2022
    Posts:
    20
    Hello.
    I have a question. how to edit existing parameter type? I need to chane it from string to int type. I see that I can only change the description
     
  2. clarec_unity

    clarec_unity

    Unity Technologies

    Joined:
    Nov 17, 2020
    Posts:
    18
    Hi RafalKaminski,

    It's not possible to change an existing parameter type at the moment. We're working on allowing this in the near future but right now the recommendation is to create a new parameter.

    Thanks,
    Clare
     
  3. RafalKaminski

    RafalKaminski

    Joined:
    Jul 4, 2022
    Posts:
    20
    The problem is that I cannot create a parameter because I need the same name for it. Otherwise the event goes to invalid events. What to do in this situation?
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    You will need to create a new parameter with a new name.
     
  5. clarec_unity

    clarec_unity

    Unity Technologies

    Joined:
    Nov 17, 2020
    Posts:
    18
    In this case you would need to change the parameter name in your code too to match the new parameter name.

    Apologies for the inconvenience, hoping to deliver a solution for this soon!