Question by 
               naderlabbad309 · Dec 21, 2018 at 12:03 PM · 
                animation  
              
 
              help how fix Mouse X whith animation
hi i have this scrip to Rotate my player
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class ROTPLYER1 : MonoBehaviour { Animator anim; public float horizontalSpeed = 2.0F;
 void Start()
 {
     anim = GetComponent<Animator>();
 }
 void Update()
 {
     float mouseX = Input.GetAxis("Mouse X");
     float h = horizontalSpeed * Input.GetAxis("Mouse X");
     transform.Rotate(0, h, 0);
but i have proplem i want to start animation right turn and left turn when Rotate my player left left turn right right turn
plz help
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
               
 
			 
                
