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.
  2. Dismiss Notice

Question How to see average time per level?

Discussion in 'Unity Analytics' started by kkirvela, Apr 2, 2023.

  1. kkirvela

    kkirvela

    Joined:
    Aug 5, 2020
    Posts:
    2
    Hello, I am making a game with non-sequential levels, meaning the player can play any levels in any order. I would like to see the average time to complete per level. Currently I am sending 1 custom event: LevelEin, which has 2 parameters, time (as a float) and level as int. Is there a simple way to do this? basically just take all recieved LevelWin events and filter out the ones with level as x and see the average time in all those events.
     
  2. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    189
    Having 1 event with those two parameters LevelWin and time, is probably the most efficient use of sending a custom event for your use case.

    It sounds like you've already got it nailed down.