mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
[C#] Have world transforms ready on instatiation
This also allows [Spine-Unity] SkeletonRenderer to work by itself: https://github.com/EsotericSoftware/spine-runtimes/issues/453
This commit is contained in:
parent
66908cb2af
commit
e37a9dd16b
@ -94,6 +94,7 @@ namespace Spine {
|
|||||||
ikConstraints.Add(new IkConstraint(ikConstraintData, this));
|
ikConstraints.Add(new IkConstraint(ikConstraintData, this));
|
||||||
|
|
||||||
UpdateCache();
|
UpdateCache();
|
||||||
|
UpdateWorldTransform();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Caches information about bones and IK constraints. Must be called if bones or IK constraints are added or
|
/// <summary>Caches information about bones and IK constraints. Must be called if bones or IK constraints are added or
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user