mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
actually implemented ExposedList.Clear(bool clearArray)
This commit is contained in:
parent
dcab4d975b
commit
5336eedc2f
@ -142,7 +142,9 @@ namespace Spine {
|
||||
}
|
||||
|
||||
public void Clear(bool clearArray = true) {
|
||||
Array.Clear(Items, 0, Items.Length);
|
||||
if (clearArray)
|
||||
Array.Clear(Items, 0, Items.Length);
|
||||
|
||||
Count = 0;
|
||||
version++;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user