mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-07 03:06:55 +08:00
Comments.
This commit is contained in:
parent
5cf9847541
commit
5d37969b9d
@ -286,6 +286,7 @@ public class SkeletonComponent : MonoBehaviour {
|
|||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
void OnDrawGizmos() {
|
void OnDrawGizmos() {
|
||||||
|
// Make selection easier by drawing a clear gizmo over the skeleton.
|
||||||
if (vertices == null) return;
|
if (vertices == null) return;
|
||||||
Vector3 gizmosCenter = new Vector3();
|
Vector3 gizmosCenter = new Vector3();
|
||||||
Vector3 gizmosSize = new Vector3();
|
Vector3 gizmosSize = new Vector3();
|
||||||
|
|||||||
@ -288,6 +288,7 @@ public class SkeletonComponent : MonoBehaviour {
|
|||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
void OnDrawGizmos() {
|
void OnDrawGizmos() {
|
||||||
|
// Make selection easier by drawing a clear gizmo over the skeleton.
|
||||||
if (vertices == null) return;
|
if (vertices == null) return;
|
||||||
Vector3 gizmosCenter = new Vector3();
|
Vector3 gizmosCenter = new Vector3();
|
||||||
Vector3 gizmosSize = new Vector3();
|
Vector3 gizmosSize = new Vector3();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user