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);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9447c82152d77e143b1f39f2d4f2292e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: