hello.
As the title says, is there any way to get the information of a spine when you click on it?
I am using a skeletonGraphic.
hello.
As the title says, is there any way to get the information of a spine when you click on it?
I am using a skeletonGraphic.
chashkim Since you said you are using "SkeletonGraphic", I assumed your question was probably related to the spine-unity runtime, so I changed the tag to Unity from Tutorials.
You say you want to get information of a spine (perhaps spine skeleton?) when you click, but where do you mean when you click? If you click your skeleton GameObject in the scene window and make it selected, you should be able to find the SkeletonGraphic component section in the Inspector window, but what information do you want to see?
chashkim I think what you want to do can be accomplished by adding the Event Trigger component: https://docs.unity3d.com/2018.4/Documentation/ScriptReference/EventSystems.EventTrigger.html
You can see an example setup of using both SkeletonGraphic and Event Trigger components in Spine Examples/Other Examples/Outline Shaders example scene included in the spine-unity runtime:
