Ejemplo n.º 1
0
    void FixedUpdate()
    {
        rigid.AddForce(Physics.gravity * TimeManaging.GetInstance().myTimeScale);

        Vector3 velocity = rigid.velocity * TimeManaging.GetInstance().myTimeScale;

        rigid.velocity = velocity;
    }
Ejemplo n.º 2
0
 void Start()
 {
     tm = TimeManaging.GetInstance();
 }
Ejemplo n.º 3
0
 void Awake()
 {
     instance = this;
 }