mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Merge branch '4.0-beta' of https://github.com/EsotericSoftware/spine-runtimes into 4.0-beta
This commit is contained in:
commit
d285e25dcd
@ -503,7 +503,10 @@ namespace Spine.Unity {
|
||||
}
|
||||
|
||||
public void OnBecameVisible () {
|
||||
UpdateMode previousUpdateMode = updateMode;
|
||||
updateMode = UpdateMode.FullUpdate;
|
||||
if (previousUpdateMode != UpdateMode.FullUpdate)
|
||||
LateUpdate(); // OnBecameVisible is called after LateUpdate()
|
||||
}
|
||||
|
||||
public void OnBecameInvisible () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user