Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

API documentation?

Discussion in 'Project Tiny' started by laurentlavigne, Dec 6, 2018.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    2,060
    So I need to do a thing with time, I can't find where it resides, not alongside deltaTime.
    Digging in the package can be fun but is there a documentation of this new API?
     
  2. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    97
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    2,060
    Gotcha, thanks.
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    2,060
    How do I get time() in a system?
     
  5. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    54
    Hi @laurentlavigne

    You can take a look at this sample script to provide this functionality in your project.
    Assets/TinySamples/BasicWorkshop/Scripts/Time.ts
     
    laurentlavigne likes this.
  6. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    2,060
    That'll do for now. When the C# port is complete, it'll be part of scheduler?