mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-02 13:49:07 +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) {
|
public void Clear(bool clearArray = true) {
|
||||||
Array.Clear(Items, 0, Items.Length);
|
if (clearArray)
|
||||||
|
Array.Clear(Items, 0, Items.Length);
|
||||||
|
|
||||||
Count = 0;
|
Count = 0;
|
||||||
version++;
|
version++;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user