-
Posts
20 -
Joined
-
Last visited
Reputation Activity
-
WormLice got a reaction from Burning-Wood in SpriterDotNet.Unity
@richard141289 According to Unity Script Reference:
http://docs.unity3d.com/ScriptReference/GameObject.GetComponent.html
So, instead of doing this:
animator = gameObject.GetComponentInChildren<SpriterDotNetBehaviour>().Animator; Do this:
animator = (gameObject.GetComponentInChildren("SpriterDotNetBehaviour") as SpriterDotNetBehaviour).Animator;
-
WormLice reacted to loodakrawa in SpriterDotNet.Unity
SpriterDotNet.Unity The Unity plugin for SpriterDotNet. Supports all Spriter features.
https://github.com/loodakrawa/SpriterDotNet/tree/develop/SpriterDotNet.Unity
Documentation The most up to date documentation can be found on the GitHub Repository.