hey guys,
i have been trying to use couple of animations on my ship to move it.and i need to change the speed of my animations playing i need it much more slower. but it doesn’t matter what i do , it won’t change
i have tried to change these parameters in the picture , but it didn’t make any difference.
and heres is the script im using :
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShipMove : MonoBehaviour {
private Animator ShipAnime;
// Use this for initialization
void Start () {
ShipAnime = GetComponent<Animator> ();
}
// Update is called once per frame
void Update () {
if (ShipAnime == null)
return;
var x = Input.GetAxis ("Horizontal");
var y = Input.GetAxis ("Vertical");
move(x, y);
}
private void move(float x, float y){
ShipAnime.SetFloat ("velx", x);
ShipAnime.SetFloat ("vely", y);
}
}
no matter what i change the speed of animations are always the same. if anyone know what am i missing please help