mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] SkeletonUtility method for delaying its update order forward.
This commit is contained in:
parent
1b95de7ac4
commit
aa0dcee09a
@ -136,6 +136,11 @@ namespace Spine.Unity {
|
|||||||
bool hasConstraints;
|
bool hasConstraints;
|
||||||
bool needToReprocessBones;
|
bool needToReprocessBones;
|
||||||
|
|
||||||
|
public void ResubscribeEvents () {
|
||||||
|
OnDisable();
|
||||||
|
OnEnable();
|
||||||
|
}
|
||||||
|
|
||||||
void OnEnable () {
|
void OnEnable () {
|
||||||
if (skeletonRenderer == null) {
|
if (skeletonRenderer == null) {
|
||||||
skeletonRenderer = GetComponent<SkeletonRenderer>();
|
skeletonRenderer = GetComponent<SkeletonRenderer>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user