Exemple #1
0
        public void BeforeEveryTest()
        {
            _animator            = Substitute.For <IUnityAnimator>();
            _skinnedMeshRenderer = Substitute.For <SkinnedMeshRenderer>();

            _handAnimation = new HandAnimation(_animator, _skinnedMeshRenderer);
            _anEventArgs   = new ClickedEventArgs();
            _anObject      = new object();
        }
Exemple #2
0
 public HandAnimation(IUnityAnimator animator, SkinnedMeshRenderer skinnedMeshRenderer)
 {
     this._animator            = animator;
     this._skinnedMeshRenderer = skinnedMeshRenderer;
 }