Exemplo n.º 1
0
 public static void Slowly(float s, float t)
 {
     if (null == _ist)
     {
         GameObject g = new GameObject();
         g.name      = "slowly";
         g.hideFlags = HideFlags.HideAndDontSave;
         _ist        = g.AddComponent <SlowlyControl>();
     }
     _ist.slowTime  = _ist.slowTime > t ? _ist.slowTime : t;
     _ist.slowScale = s;
 }
Exemplo n.º 2
0
 public void slowly(float v, float slow_motion)
 {
     SlowlyControl.Slowly(v, slow_motion);
 }