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

water mark texture

$
0
0

whats better then a watermark so i cant see it in my scene view and i have a script i wrote for slo motion and id like to make it so can limits its use time and have a bar that goes down withit and then the bar regenerates over time. heres the script if u want to edit it

 using UnityEngine;
using System.Collections;
//Hold Left Shift for SloMo
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>