for some reason this does'nt want to work... it only removes 1 Lifeinterval every time you turn on the light... and not on a continuous loop overtime.
(comments are locked)
|
for some reason this does'nt want to work... it only removes 1 Lifeinterval every time you turn on the light... and not on a continuous loop overtime.
(comments are locked)
|
Once you sign in you will be able to subscribe for any updates here
By RSS:The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
Topics:
asked: Jul 11 '12 at 08:49 PM
Seen: 221 times
Last Updated: Jul 27 '12 at 01:42 PM
r u sure it is correct to start loop method inside method itself? add Debug.Log("hit") to monitor invoking.
InvokeRepeating("TL", 2, 0.3);
function TL () {
if (linkedLight==enabled){
}
as @ScroodgeM mentioned, you shouldn't be calling the method from itself