Files
Click-PointRPG/Assets/Scripts/Player.cs
2026-02-10 21:27:46 +00:00

24 lines
380 B
C#

using UnityEngine;
public class Player : Character
{
public static Player Current;
void Awake()
{
Current = this;
}
void OnDestroy()
{
if (Current == this) Current = null;
}
// Example hook for when a target is set
public override void Die()
{
base.Die();
// add player-specific death logic here
}
}