Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

API documentation?

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

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,113
    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:
    6,113
    Gotcha, thanks.
     
  4. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,113
    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:
    6,113
    That'll do for now. When the C# port is complete, it'll be part of scheduler?