Skip to content

process_manager_local

Kamran Wali edited this page Dec 2, 2024 · 5 revisions

Inherits: base_update_manager

Inherited By: process_manager_global

Description

process_manager_local is the update manager that uses the _process(delta) method to update the update manager and all of the update objects. The prefix local means that this update manager can only be shared locally which is by dragging and droping the object containing the script process_manager_local to other object's base_update_manager properties.

Tutorials

Properties

Type Name Default Value
int _index_status 0

Methods

Return Type Name
void _process( float delta )
void set_enabled( bool is_enable )
bool is_enabled()

Property Descriptions

int _index_status = 0

This property loops through all the update objects and calls their on_enable() or on_disable() methods. Read method set_enabled for more information.


Method Descriptions

void _process ( float delta )

This method calls the main _update() method for updating the update manager and all the update objects. It multiplies the delta value with get_time_delta() and then sends that value to the _update() method. The new delta value will give accurate results for all the update objects.


void set_enabled ( bool is_enable )

This method enables/disables the update manager. When the update manager is enabled or disabled all the update objects are also enabled or disabled. The methods on_enable or on_disable are called when the update manager is enabled or disabled respectively


bool is_enabled ()

This method checks if the update manager is enabled or NOT. It uses Godot's method called is_processing() to check if the update manager is processing or NOT.


TODO: Check if every link and details are ok.

Clone this wiki locally