Files
Barrack-Unity/Assets/Scripts/Game/WallResetter.cs
T
2026-08-19 13:18:26 -04:00

16 lines
314 B
C#

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