public static void PassTimeScale(GameObject receiver, TimeScale passer) { receiver.GetComponent <TimeScale>().SetTimeScale(passer.GetTimeScale()); }