mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 05:50:18 +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
|
// get all processed jobs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue