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

(10516)

2D

(274)

Ads

(52)

AI & Navigation

(78)

Analytics

(125)

Animation

(389)

Asset Store

(332)

Asset Store Publisher

(10)

Assets

(534)

Audio

(176)

Cloud Build

(139)

Collaborate

(57)

Docs & Tutorials

(237)

Editor

(2452)

Everyplay

(14)

Game Performance Reporting

(15)

General

(950)

Graphics

(861)

GUI

(422)

Input

(165)

Licensing

(88)

Networking

(185)

Physics

(380)

Platforms

(438)

Profiling & Optimization

(81)

Runtime

(180)

Scripting

(1147)

Terrain

(168)

WebGL

(141)