Quantcast
Channel: Latest Questions by Daniel Girgis
Viewing all articles
Browse latest Browse all 22

Heres a Script for SloMo hold left shift

$
0
0

using UnityEngine; using System.Collections;

public class ShiftForSloMo : MonoBehaviour {

public int SetSlomoSpeed = 0;

// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {

    if(Input.GetKeyDown(KeyCode.LeftShift))
    Time.timeScale = SetSlomoSpeed + .3f;

    if(Input.GetKeyUp(KeyCode.LeftShift))
        Time.timeScale = 1f; 
}

}


Viewing all articles
Browse latest Browse all 22

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>