/// <summary> // PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> public void Start () { _yPosition_lerptarget = new LerpTarget (0, 0, Constants.PADDLE_Y_LERP_MINIMUM, Constants.PADDLE_Y_LERP_MAXIMUM, Constants.PADDLE_Y_LERP_ACCELERATION_DEFAULT); _animator = GetComponent <Animator>(); _positionAtStart_vector3 = gameObject.transform.position; }
// PRIVATE STATIC //-------------------------------------- // Methods //-------------------------------------- ///<summary> /// Use this for initialization ///</summary> public void Start () { animation = GetComponentInChildren<Animation>(); animationMonitor = GetComponentInChildren<AnimationMonitor>(); _yPosition_lerptarget = new LerpTarget (0, 0, -5, 5, 0.5f); }