コード例 #1
0
ファイル: AlertLedger.cs プロジェクト: tcdanielh/tilt-brush
 public void RecordNewAlert(ColoredAlert color)
 {
     if (Event.isRecording())
     {
         recordedAlerts.alertList.Add(new Alert(Time.time - recordingStartTime, color));
     }
 }
コード例 #2
0
ファイル: AlertLedger.cs プロジェクト: tcdanielh/tilt-brush
 public Alert(float t, ColoredAlert c)
 {
     this.time  = t;
     this.color = c;
 }