init: version 1

This commit is contained in:
Job
2025-07-17 17:16:02 +02:00
commit a76c0f6445
519 changed files with 202925 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
using UnityEngine;
[RequireComponent(typeof(SpriteRenderer), typeof(Collider2D), typeof(Animator))]
public class CubeWallController : WallController
{
private void OnTriggerEnter2D(Collider2D other)
{
if (other.CompareTag("Cube"))
{
CubeController cube = other.GetComponent<CubeController>();
cube.Respawn();
}
}
}