TO SQUASH: Jesus!!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user