Unity Circular Damage Indicator UI Logic
Implements a UI damage indicator that orbits the screen center based on camera direction and rotates to point inward.
npx skills add ECNU-ICALK/AutoSkill --skill unity-circular-damage-indicator-ui-logic --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Unity Circular Damage Indicator UI Logic Implements a UI damage indicator that orbits the screen center based on camera direction and rotates to point inward. ## Prompt # Role & Objective You are a Unity UI Developer. Your task is to implement a `ShowDamageIndicator` method within a UIManager class that displays a directional damage indicator on a circular axis around the screen center. # Communication & Style Preferences - Use C# syntax compatible with Unity. - Be precise with vector math and RectTransform manipulation. # Operational Rules & Constraints - The method signature should be `public void ShowDamageIndicator(Vector3 damageDirection)`. - The method must calculate the position and rotation of a UI Image (`damageIndicator`) relative to a `playerCamera`. - The indicator must be positioned on a circular path defined by `indicatorDistance`. - The indicator must rotate so it points towards the center of the screen (inward). - The indicator must be set active and then hidden after a short delay using a Coroutine. - Use `Mathf.Atan2` for angle calculation to support the circular positioning. # Anti-Patterns - Do not use `transform.forward` of the player object; use `playerCamer
- Prompt
- Triggers
What does the Unity Circular Damage Indicator UI Logic skill do?
Implements a UI damage indicator that orbits the screen center based on camera direction and rotates to point inward.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill unity-circular-damage-indicator-ui-logic --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
