Пример #1
0
 public void SetupFollowAnim(Animation anim, bool ignoreTimeScale, bool pauseLevel, CameraAnimationCullingType cullType = 0, Action levelAnimStartCallback = null, Action levelAnimEndCallback = null)
 {
     this._animation                = anim;
     this._pauseLevel               = pauseLevel;
     this._ignoreTimeScale          = ignoreTimeScale;
     this._simpleAnimationComponent = anim.GetComponent <MonoSimpleAnimation>();
     this._levelAnimStartCallback   = levelAnimStartCallback;
     this._levelAnimEndCallback     = levelAnimEndCallback;
     this._cullType = cullType;
 }
Пример #2
0
 public void SetupFollowAvatarAnim(Animation animation, BaseMonoAvatar avatar)
 {
     this._animation = animation;
     this._avatar    = avatar;
     this._simpleAnimationComponent = animation.GetComponent <MonoSimpleAnimation>();
 }