mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-26 14:00:17 +00:00
add method RemoveAllObjectsFromArea()
This commit is contained in:
parent
3d4ea8c0f5
commit
3ad3cde939
1 changed files with 7 additions and 0 deletions
|
@ -470,6 +470,13 @@ namespace SanAndreasUnity.Behaviours.World
|
|||
}
|
||||
}
|
||||
|
||||
public void RemoveAllObjectsFromArea(Area area)
|
||||
{
|
||||
this.ThrowIfConcurrentModification();
|
||||
|
||||
area.objectsInside = null;
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
this.ThrowIfConcurrentModification();
|
||||
|
|
Loading…
Reference in a new issue