Search Feedback

72
votes

"FixedInvokeRepeating" thoughts.

Scripting

-

-

Hi. Through working on one system, i found lack of method which will be same as "FixedUpdate" but with controllable step. As example - default FixedUpdate called 50 times per second, but if you need fast "fixed run" only in one script, making FixedUpdate run on 0.001 - not a good idea.InvokeRepeating is nice, but through same test, it can be called different amount of times per second - so not 100% accurate. And thats where thoughts of "FixedInvokeRepeating" come on a scene. As for me, it will be 100% helpful, if in one script i can call "void one" 20 times per second and "void two" 250 times per second, and it will be 20 and 250, not 18 and 247. And also - will not depends on FPS.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10490)

2D

(266)

Ads

(51)

AI & Navigation

(90)

Analytics

(118)

Animation

(376)

Asset Store

(283)

Asset Store Publisher

(2)

Assets

(514)

Audio

(173)

Cloud Build

(128)

Collaborate

(46)

Docs & Tutorials

(225)

Editor

(2341)

Everyplay

(13)

Game Performance Reporting

(17)

General

(1270)

Graphics

(840)

GUI

(408)

Input

(159)

Licensing

(85)

Networking

(180)

Physics

(371)

Platforms

(432)

Profiling & Optimization

(78)

Runtime

(175)

Scripting

(1117)

Terrain

(165)

WebGL

(140)