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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

API documentation?

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

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,846
    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:
    120
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,846
    Gotcha, thanks.
     
  4. laurentlavigne

    laurentlavigne

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

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    102
    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:
    5,846
    That'll do for now. When the C# port is complete, it'll be part of scheduler?