Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

How to modify Time value

$
0
0
Hi, following code issues an error float TimeModifier = 5.0f; Time EndTime = Time.time + TimeModifier; "error CS0029: Cannot implicitly convert type `float' to `UnityEngine.Time'" Also when trying to compare time another error is outputed: "error CS0019: Operator `>' cannot be applied to operands of type `float' and `UnityEngine.Time'" if (Time.time > EndTime) break;

Viewing all articles
Browse latest Browse all 7934

Trending Articles



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