Files
Barrack-Unity/Assets/Scripts/Game/WallResetter.cs
T

16 lines
314 B
C#
Raw Normal View History

2026-08-19 13:18:26 -04:00
using UnityEngine;
public class WallResetter : MonoBehaviour
{
// Update is called once per frame
void Update()
{
var walls = GameObject.FindGameObjectsWithTag("Wall");
foreach (var wall in walls)
{
wall.transform.rotation = Quaternion.identity;
}
}
}