Hello,
I would like to write a function in Unity that will also handle the spine object, which is in the game GUI (canvas) and which is an object in the game. The object is to be a game character, I would like one function to be universal and to control both objects in the same way. How could I do this? I don't want to write two functions that do the same thing on two different types of objects.