mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-22 12:03:04 +00:00
jobs can be updated by anyone
This commit is contained in:
parent
75ac2ee166
commit
86ed0369a7
1 changed files with 13 additions and 1 deletions
|
@ -97,7 +97,19 @@ namespace SanAndreasUnity.Behaviours
|
|||
}
|
||||
}
|
||||
|
||||
void Update () {
|
||||
void Update()
|
||||
{
|
||||
this.UpdateJobsInternal();
|
||||
}
|
||||
|
||||
public void UpdateJobs()
|
||||
{
|
||||
ThreadHelper.ThrowIfNotOnMainThread();
|
||||
|
||||
this.UpdateJobsInternal();
|
||||
}
|
||||
|
||||
void UpdateJobsInternal () {
|
||||
|
||||
// get all processed jobs
|
||||
|
||||
|
|
Loading…
Reference in a new issue