mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-24 10:41:24 +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 () {
|
public void OnBecameVisible () {
|
||||||
|
UpdateMode previousUpdateMode = updateMode;
|
||||||
updateMode = UpdateMode.FullUpdate;
|
updateMode = UpdateMode.FullUpdate;
|
||||||
|
if (previousUpdateMode != UpdateMode.FullUpdate)
|
||||||
|
LateUpdate(); // OnBecameVisible is called after LateUpdate()
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnBecameInvisible () {
|
public void OnBecameInvisible () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user