Exemplo n.º 1
0
 protected override void On_NeedToFadeOut()
 {
     m_AnimData = CustomAnimationManager.AnimPositionWithTime(transform, m_FadeOutAnim.m_Position, m_FadeOutAnim.m_TimeToReachPos).SetCurve(m_FadeOutAnim.m_Curve);
 }
Exemplo n.º 2
0
 protected override void Start()
 {
     base.Start();
     m_Model.position = new Vector3(m_Model.position.x, m_StartYPos, m_Model.position.z);
     CustomAnimationManager.AnimPositionWithTime(m_Model, Vector3.zero, m_TimeToAnimate).SetCurve(m_AnimCurve).SetOnComplete(OnAnimEnded);
 }