public virtual bool ChangeAnime(string name) { if (EqulasAnime(name)) { return(false); } _sprite.Animation = _ssDatabase.GetAnime(name); _sprite.Play(); return(true); }
// Update is called once per frame void Update() { if (Input.GetKey("up")) { sprite.Play(); print("up arrow key is held down"); } if (Input.GetKey("down")) { sprite.Pause(); print("down arrow key is held down"); } }