void FixedUpdate() { rigid.AddForce(Physics.gravity * TimeManaging.GetInstance().myTimeScale); Vector3 velocity = rigid.velocity * TimeManaging.GetInstance().myTimeScale; rigid.velocity = velocity; }
void Start() { tm = TimeManaging.GetInstance(); }
void Awake() { instance = this; }