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

(10797)

2D

(282)

Ads

(56)

AI & Navigation

(84)

Analytics

(133)

Animation

(396)

Asset Store

(356)

Asset Store Publisher

(17)

Assets

(544)

Audio

(185)

Cloud Build

(145)

Collaborate

(65)

Docs & Tutorials

(240)

Editor

(2513)

Everyplay

(19)

Game Performance Reporting

(22)

General

(981)

Graphics

(870)

GUI

(432)

Input

(173)

Licensing

(92)

Networking

(189)

Physics

(384)

Platforms

(442)

Profiling & Optimization

(85)

Runtime

(182)

Scripting

(1169)

Terrain

(172)

WebGL

(143)