mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Fixed BoneFollowerGraphic silently failing at Transform instead of RectTransform by requiring component RectTransform. Closes #1828.
This commit is contained in:
parent
be84904181
commit
a7f629f504
@ -40,7 +40,7 @@ namespace Spine.Unity {
|
||||
#else
|
||||
[ExecuteInEditMode]
|
||||
#endif
|
||||
[DisallowMultipleComponent]
|
||||
[RequireComponent(typeof(RectTransform)), DisallowMultipleComponent]
|
||||
[AddComponentMenu("Spine/UI/BoneFollowerGraphic")]
|
||||
[HelpURL("http://esotericsoftware.com/spine-unity#BoneFollowerGraphic")]
|
||||
public class BoneFollowerGraphic : MonoBehaviour {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user