Initial Unity 6 scaffold for Cat Kirby Adventures.

Add Phase A greybox vertical slice: third-person movement, forest path, checkpoints, story triggers, and light ability gate.
This commit is contained in:
ifontosh
2026-09-08 17:09:27 +08:00
commit 1c6c9b2a70
44 changed files with 2553 additions and 0 deletions
@@ -0,0 +1,24 @@
using UnityEngine;
namespace KirbyAdventures
{
public class FallKillPlane : MonoBehaviour
{
public float KillY = -10f;
Transform _player;
CharacterController _cc;
public void Bind(Transform player)
{
_player = player;
_cc = player != null ? player.GetComponent<CharacterController>() : null;
}
void Update()
{
if (_player == null) return;
if (_player.position.y < KillY)
CheckpointSystem.Respawn(_player, _cc);
}
}
}