コード例 #1
0
 public void Awake()
 {
     Instance = this;
 }
コード例 #2
0
 public static string Enum_TimeDelay_ToString(TimeDelay v)
 {
     switch (v) {
      case TimeDelay.aDelayed: return "Delayed";
      case TimeDelay.aNotDelayed: return "NotDelayed";
     } return "";
 }
コード例 #3
0
 public BlyncLightInstruction(BlyncLightColor color, TimeDelay displayTime)
 {
     Color       = color;
     DisplayTime = displayTime;
 }
コード例 #4
0
ファイル: TSScene.cs プロジェクト: TiansingDESU/LetsRushB
 public void FadeOut(float time)
 {
     blackImg.CrossFadeAlpha(0, time, true);
     TimeDelay.SetTimeout(() => { blackUI.SetActive(false); }, time);
 }
コード例 #5
0
ファイル: TimeDelay.cs プロジェクト: TiansingDESU/LetsRushB
 void Awake()
 {
     inst = this;
 }
コード例 #6
0
 private void Start()
 {
     DestoryDelay = GetComponent <ParticleSystem>().main.duration;
     //add 1 seconds to fade away
     TimeDelay.SetTimeout(() => { Destroy(gameObject); }, DestoryDelay + 1f);
 }