přehraj animaci po stisku tlačítka #unity3d #c#
using UnityEngine; using System.Collections; public class example : MonoBehaviour { void Update() { if (Input.GetButtonUp("Fire1")) { animation.Play(); } }}