- Home /
water mark texture
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;
}
}
He may not have been asking a question, but it seems like he was asking for help on something. $$anonymous$$, did you want help on something? If so, kindly rephrase your post. Include questions if you'd like to know about something and indicate if you want help on something too.
sorry it didnt really make sence i wanna make like a texture or somthing on the side to show how much lets say energy i have built up for the use of slow motion and i wanted to make a texture or watermark or somthing that limits my use of slowmotion say 6 seconds and takes 20 to regenerate full enegery to use 6 seconds of slow motion again the question is what scripting would i need and how do i apply a counter/ timer thing thankyou
That's a lot to cover in one post (although someone might be happy to tackle it for you). It would be easier if you could explain what part(s) you need help with. Displaying UI elements onscreen? Ti$$anonymous$$g? General game logic? (Also, if you could use capitalization and punctuation in your posts, it would make them easier for us to read.)
Your answer
Follow this Question
Related Questions
Blurry Texture Help 5 Answers
Wearied Error 1 Answer
Make more buttons appear, on button click. 1 Answer
Null reference exception[SOLVED] 1 Answer
Randomly floating GUI Texture 1 Answer