fixed 9/11

This commit is contained in:
2024-04-26 20:32:50 +02:00
parent 5a39f2bf0a
commit 1e53774e99
8 changed files with 65 additions and 1502 deletions

View File

@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TheTowersMustFall : MonoBehaviour
{
Animator animator;
KeyCode hitTowersButton = KeyCode.L;
void Start()
{
animator = GetComponent<Animator>();
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(hitTowersButton))
animator.SetBool("Fall", true);
}
}