What is the script reference I can use to make a SkeletonAnimation disappear or reappear?
How to turn skeleton off/invisible
- Змінено
What runtime are you using?
I think that I'm using Spine-C, but when I tried to use anything with -> it told me my code was unsafe. I installed the Unity package, is that all I need to do?
spine-c and Unity don't work together. You will only need the spine-unity runtime, which is written in C# and not unsafe.
The basic setup guide on the download page should give you all the information you need to get up and running and also solve your original problem of setting the visibility of skeletons at runtime Spine Unity Download: Installing in a new project
Unity uses C#. Are you new to both?
I recommend the official Unity tutorials just to get you familiarized with their object scheme:
https://unity3d.com/learn/tutorials/topics/interface-essentials
In Unity, you can just enable and disable GameObjects. Disabling GameObjects makes them invisible.