mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +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 needToReprocessBones;
|
||||
|
||||
public void ResubscribeEvents () {
|
||||
OnDisable();
|
||||
OnEnable();
|
||||
}
|
||||
|
||||
void OnEnable () {
|
||||
if (skeletonRenderer == null) {
|
||||
skeletonRenderer = GetComponent<SkeletonRenderer>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user