Version: 5.5
public static float time ;

Description

The time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.

Returns the same value if called multiple times in a single frame. When called from inside MonoBehaviour's FixedUpdate, returns fixedTime property.

no example available in C#

Note: time starts once all Awake functions have finished. The time value will be undefined during Awake functions.