Exemplo n.º 1
0
    public SceneStarts(SceneHelper.ScenarioMode sm, bool isRep = false)
    {
        sceneMode = sm;
        isReplay  = isRep;

        startTime = Time.time;
        time      = DateTime.Now; //this is a struct with current date and time
        timeUtc   = DateTime.UtcNow;
        timeStamp = time.ToString("yyyy.MM.dd.HH.mm.ss");
        unixTime  = timeUtc.Subtract(new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds;
    }
Exemplo n.º 2
0
 public SceneStartsRequest(SceneHelper.ScenarioMode sm, bool r)
 {
     sceneMode = sm;
     isReplay  = r;
 }
Exemplo n.º 3
0
 public SceneStarts()
 {
     sceneMode = SceneHelper.ScenarioMode.None;
     isReplay  = false;
 }