[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CMF0BVX7ZP6PD8ZCPQWQRF":3,"skill-same:01M7CMF0BVX7ZP6PD8ZCPQWQRF":106},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7CMF0BVX7ZP6PD8ZCPQWQRF","unity-2d-controller",null,"Move a 2D character: platformer jump, slopes, coyote time, moving platforms, top-down movement.","tipoLi5890\u002Funity-dev-skills","tipoLi5890","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F177803612?v=4","01M7CMD7DHGZ09CB53CRFHAA34","Li, ching yu","01M7CMD7E70K5RAHWWZVYX9YMG",2,"MIT","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: unity-2d-controller\ndescription: >-\n  Move a 2D character: platformer jump, slopes, coyote time, moving platforms,\n  top-down movement.\n---\n\n# unity-2d-controller — a platformer character asks physics where the ground is; it is not simulated by it\n\n> **A character left to the solver is a crate with a face.** A dynamic body under gravity slides\n> down slopes, sticks to walls by friction, bounces off corners and jumps a different height\n> every time a contact lands on the take-off step. None of those are bugs in the physics. The\n> fix is not a setting: the character stops being simulated, decides its own velocity, and uses\n> the engine only to ask what is in the way.\n\n## The situation → what to read\n\n| The situation | Read |\n|---|---|\n| Kinematic or dynamic; `Rigidbody2D.Slide`; who owns the transform; a second writer | `reference\u002Fmodel-choice.md` |\n| \"The character slides down slopes\", \"it sticks to walls\", \"can't jump right at the edge\", \"falls through the moving platform\": grounding, slopes, sliding downhill, one-way platforms and dropping through, moving platforms, coyote time, buffer, short hop, apex hang, dash, wall slide and wall jump, auto-run, abilities as data | `reference\u002Fplatformer.md` |\n| \"The jump feels floaty\": gravity and jump velocity from height and time; rise and fall gravity; why the apex is 2.85 and not 3; measuring it | `reference\u002Fjump-maths.md` |\n| \"Diagonal movement is faster\": four-way, eight-way, analogue; the fast diagonal; acceleration and stopping; wall slide; twin-stick aim; screen clamp; knock-back | `reference\u002Ftopdown-free.md` |\n| One cell per step: commit then tween, key repeat, one buffered step, a refused step, pushing a pickup | `reference\u002Fgrid-step.md` |\n| \"The sprite faces the wrong way\": which way it faces; flipping against directional clips; the bridge that writes the Animator | `reference\u002Ffacing-and-animator-bridge.md` |\n| Reach tables, gap and ledge checks, the measuring script | `unity-gameplay` → `reference\u002Flevel-metrics.md` |\n| The input struct, the press latch and its buffer, a scripted driver; action assets, touch controls, rebinding | `unity-input` → `reference\u002Freading-input.md` |\n| Stick and pointer aim resolved to a direction | `unity-input` → `reference\u002Fpointer-and-aim.md` |\n| Body types, simulation mode, interpolation; collider set-up, a callback that never fires | `unity-physics-2d` → `reference\u002Fbodies-and-simulation.md` |\n| Casts, contact filters, a query that misses | `unity-physics-2d` → `reference\u002Fqueries-2d.md` |\n| Tile seams that catch the runner; composite colliders | `unity-physics-2d` → `reference\u002Ftilemap-colliders.md` |\n| Platform effectors for dynamic bodies | `unity-physics-2d` → `reference\u002Feffectors-and-joints.md` |\n| Which layers, and which pairs collide | `unity-physics-2d` → `reference\u002Flayers-and-matrix.md` |\n| Cell coordinates on rectangular, isometric and hexagonal boards | `unity-2d-grid` → `reference\u002Fcoordinates.md` |\n| Occupancy, reservations, turn order, pathfinding | `unity-2d-grid` → `reference\u002Foccupancy-and-turns.md` |\n| Following the runner; a camera that jitters behind it; confiners | `unity-camera` → `reference\u002Ffollow-2d.md` |\n| The state graph the bridge feeds, side-on | `unity-animation` → `reference\u002Fsprite-state-graph.md` |\n| Directional trees fed by the facing | `unity-animation` → `reference\u002Fblend-trees.md` |\n| Journeys that prove apex, coyote and buffer; recorders, situations, the probe, the never-inside invariant | `unity-play-harness` → `reference\u002Fjourneys.md` |\n\nCopy the `resources\u002F` files the model needs into a Runtime assembly beside `RunInput.cs`\n(`unity-input` → `resources\u002F`), and the journey from `templates\u002F` into a PlayMode test assembly\nthat also references the harness. The runtime files need no package — 2D physics and animation are\nbuilt-in modules; the journeys need `com.unity.test-framework`.\n\nEvery controller here is two halves that never mix:\n\n```\nRunInput ──► rules ──────────────► collision ─────────────► Rigidbody2D\n(struct)     PlatformerController2D  PlatformerMotor2D        MovePosition, once per step\n             what the runner wants   what the level allows\n             coyote, cut, dash       ground, slope, one-way, carry\n```\n\n| Half | Knows | Never knows |\n|---|---|---|\n| Rules — `resources\u002FPlatformerController2D.cs` | Input levels and presses, timers, abilities, gravity, jump velocity | Layers, casts, normals |\n| Collision — `resources\u002FPlatformerMotor2D.cs` | Layers, the body's shape, what is ground, the platform under the feet | Input, gravity, what a jump is |\n\nThe rules call one method — `Move(velocity, dt)` — and read back four facts: `Grounded`,\n`WallSide`, `OnOneWay`, `Velocity`. That seam is what lets a journey prove the jump, and lets the\ncollision half be replaced without touching a rule.\n\n---\n\n## 0. Pick the movement model\n\nOne model per character, chosen by constraint, written down before any code. If the project has\nnot named its view and movement model, `unity-gameplay` does that first.\n\n| The game is | Model | Transform owner | Files |\n|---|---|---|---|\n| Side view under gravity: platformer, gated exploration, auto-runner | Kinematic body, moved to where casts allow | `PlatformerMotor2D` | `PlatformerMotor2D.cs`, `PlatformerController2D.cs`, `MovingPlatform2D.cs` |\n| Seen from above, free movement: action-adventure, twin-stick, fixed-screen shooter | Dynamic body, gravity scale 0, velocity assigned every step | The solver, from one writer | `TopDownMotor2D.cs` |\n| Cells: tactics, tile puzzle, RPG authored to the tile | The cell map; the transform is a tween | `GridStepMover` | `GridStepMover.cs` |\n\nWhy each, what each costs, and the grep that finds a second writer: `reference\u002Fmodel-choice.md`.\n\n## 1. Start here — the side run\n\n1. **Decide four numbers** before the level exists: apex height 3, time to apex 0.4 s, run speed\n   8, coyote time 0.1 s. Gravity (37.5) and jump velocity (15) are derived, never typed in.\n2. **Build the runner.** `Rigidbody2D` (Interpolate) + one `BoxCollider2D` (0.8 × 1.8) +\n   `RunInputReader` + `PlatformerMotor2D` + `PlatformerController2D`. The motor makes the body\n   kinematic. Set `solid` to the rooftop layer and `oneWay` to the platform layer — two layers,\n   never one.\n3. **Register with the probe**, where the game wires its harness:\n\n```csharp\nGameProbe.SetPlayerVelocity(() => run.transform, () => (Vector3)run.Velocity);\nGameProbe.Register(\"grounded\", () => run.Grounded);\nGameProbe.SetState(() => run.State);          \u002F\u002F Grounded · Rising · Falling · WallSlide · Dash\n```\n\n4. **Prove it** with `templates\u002FPlatformerJourneyTest.cs`, which builds its own rooftops:\n\n| Test | Asserts |\n|---|---|\n| `Jump_ReachesTheConfiguredApex` | A held jump peaks at `apexHeight − jumpVelocity·dt\u002F2` (2.85), within 0.05 |\n| `Press_JustAfterTheLedge_StillJumps` | A press spent 0.08 s after the last grounded step jumps |\n| `Press_LongAfterTheLedge_IsRefused` | A press at 0.16 s does not: coyote time is not a double jump |\n| `Press_JustBeforeLanding_JumpsOnLanding` | With a 0.15 s buffer, a press 0.10 s before the feet touch jumps from the roof |\n| all four | `JourneyInvariants2D.NeverInside2D` reports nothing |\n\n5. **Show the gate can fail.** `PLATFORMER_JOURNEY_BREAK=coyote`, `=buffer` and `=tap` each turn\n   one test red. A journey nobody has seen fail proves nothing.\n6. **Measure the jump** with `unity-gameplay` → `scripts\u002Fjump_report.py` against the\n   timeline the first test wrote, then build the level to the number it prints.\n\nThe depot is the same loop with `TopDownMotor2D` and `templates\u002FTopDownJourneyTest.cs`\n(diagonal speed, wall slide with `NeverInside2D`, stopping distance); the sorting yard with\n`GridStepMover` and two delegates.\n\n## Discipline\n\n- **One writer of the transform.** `Move` is called from one place; nothing else assigns\n  `transform.position`, `linearVelocity` or a root-motion curve on that object. Launch pads,\n  hazards and conveyors hand a velocity to the controller (`Push`); they do not move the body.\n- **Rules and collision stay in separate files.** A coyote timer in the motor or a layer mask in\n  the controller is the first step back to one file nobody can test.\n- **Author what the player sees.** Apex height and time to apex are the tunables; gravity and\n  jump velocity are computed. Do not use the project's gravity for the jump.\n- **Assign the jump, never add it.** `v.y = jumpVelocity`. Added to a slope's or a lift's upward\n  velocity it is a different jump on every surface.\n- **Velocity first, then position, gravity from the take-off step.** That is the integrator the\n  level numbers assume; the apex sits `v0·dt\u002F2` under the designed one. Change the order and\n  every ledge in the game moves.\n- **Ground is a cast of the body's own shape and a normal, not a callback, a tag or a ray from\n  the centre.** And never while rising.\n- **Condition first, then `TryUse`.** `canJump && input.TryUse(Launch)` buffers a press;\n  the reverse spends it in mid-air. The buffer length lives on the input source.\n- **Read levels with `Peek`, presses with `TryUse`, both in `FixedUpdate`.** Never a device, and\n  never a press rebuilt from `held && !wasHeld`.\n- **A held jump and a tapped jump are different jumps.** Measure the apex with the button held;\n  a driver that taps is measuring the short hop.\n- **Clamp a move vector, do not normalise it.** Clamped, a keyboard diagonal is not 41% fast and\n  a half-pushed stick is still half speed.\n- **Facing comes from intent, never from velocity,** and keeps its value at rest.\n- **In a cell game the cell is the position.** It changes when the step starts; the transform\n  catches up. Game logic that reads the transform is wrong for half of every step.\n- **Coyote time, buffer, apex hang and extra jumps are level-design numbers.** Each changes\n  reach; fix them before rooms are drawn and re-run the reach table when one moves.\n- **The human keeps the feel verdict.** The journey shows the apex is 2.85 and the press was\n  honoured at 0.08 s; whether 0.4 s to the apex feels right is a judgement.\n\n## Scope — what this skill does NOT do\n\n| Not here | Go to |\n|---|---|\n| Which perspective and movement model the game has; genre recipes; reach tables | `unity-gameplay` |\n| Tilemap layers, rooms, chunks, level data | `unity-2d-level` |\n| Sort order, sorting from above, 2D lights | `unity-2d-rendering` |\n| Bones, skinned sprites, swapping parts | `unity-2d-animation` |\n| Animator graphs, blend trees, events (the bridge feeds them) | `unity-animation` |\n| Frames into clips, pivots | `unity-2d-sprites` |\n| Pressing use on a switch, a gate or a pickup | `unity-interaction` |\n| Health, hurt, invincibility frames and when a hit asks for knock-back | `unity-combat` |\n| Click-to-move: on a tile board `unity-2d-grid` (`GridPathfinder`); free 2D movement `unity-navigation` → `reference\u002Frecipes.md` §9 |\n| 3D characters and PhysX | `unity-physics-3d` |\n\nEnemy behaviour, combat and interaction are not controllers: a sentry that patrols a ledge uses\n`PlatformerMotor2D` with its own rules in place of `PlatformerController2D`, and what it decides\nis `unity-game-ai`.\n","# unity-2d-controller — a platformer character asks physics where the ground is; it is not simulated by it\n\n> **A character left to the solver is a crate with a face.** A dynamic body under gravity slides\n> down slopes, sticks to walls by friction, bounces off corners and jumps a different height\n> every time a contact lands on the take-off step. None of those are bugs in the physics. The\n> fix is not a setting: the character stops being simulated, decides its own velocity, and uses\n> the engine only to ask what is in the way.\n\n## The situation → what to read\n\n| The situation | Read |\n|---|---|\n| Kinematic or dynamic; `Rigidbody2D.Slide`; who owns the transform; a second writer | `reference\u002Fmodel-choice.md` |\n| \"The character slides down slopes\", \"it sticks to walls\", \"can't jump right at the edge\", \"falls through the moving platform\": grounding, slopes, sliding downhill, one-way platforms and dropping through, moving platforms, coyote time, buffer, short hop, apex hang, dash, wall slide and wall jump, auto-run, abilities as data | `reference\u002Fplatformer.md` |\n| \"The jump feels floaty\": gravity and jump velocity from height and time; rise and fall gravity; why the apex is 2.85 and not 3; measuring it | `reference\u002Fjump-maths.md` |\n| \"Diagonal movement is faster\": four-way, eight-way, analogue; the fast diagonal; acceleration and stopping; wall slide; twin-stick aim; screen clamp; knock-back | `reference\u002Ftopdown-free.md` |\n| One cell per step: commit then tween, key repeat, one buffered step, a refused step, pushing a pickup | `reference\u002Fgrid-step.md` |\n| \"The sprite faces the wrong way\": which way it faces; flipping against directional clips; the bridge that writes the Animator | `reference\u002Ffacing-and-animator-bridge.md` |\n| Reach tables, gap and ledge checks, the measuring script | `unity-gameplay` → `reference\u002Flevel-metrics.md` |\n| The input struct, the press latch and its buffer, a scripted driver; action assets, touch controls, rebinding | `unity-input` → `reference\u002Freading-input.md` |\n| Stick and pointer aim resolved to a direction | `unity-input` → `reference\u002Fpointer-and-aim.md` |\n| Body types, simulation mode, interpolation; collider set-up, a callback that never fires | `unity-physics-2d` → `reference\u002Fbodies-and-simulation.md` |\n| Casts, contact filters, a query that misses | `unity-physics-2d` → `reference\u002Fqueries-2d.md` |\n| Tile seams that catch the runner; composite colliders | `unity-physics-2d` → `reference\u002Ftilemap-colliders.md` |\n| Platform effectors for dynamic bodies | `unity-physics-2d` → `reference\u002Feffectors-and-joints.md` |\n| Which layers, and which pairs collide | `unity-physics-2d` → `reference\u002Flayers-and-matrix.md` |\n| Cell coordinates on rectangular, isometric and hexagonal boards | `unity-2d-grid` → `reference\u002Fcoordinates.md` |\n| Occupancy, reservations, turn order, pathfinding | `unity-2d-grid` → `reference\u002Foccupancy-and-turns.md` |\n| Following the runner; a camera that jitters behind it; confiners | `unity-camera` → `reference\u002Ffollow-2d.md` |\n| The state graph the bridge feeds, side-on | `unity-animation` → `reference\u002Fsprite-state-graph.md` |\n| Directional trees fed by the facing | `unity-animation` → `reference\u002Fblend-trees.md` |\n| Journeys that prove apex, coyote and buffer; recorders, situations, the probe, the never-inside invariant | `unity-play-harness` → `reference\u002Fjourneys.md` |\n\nCopy the `resources\u002F` files the model needs into a Runtime assembly beside `RunInput.cs`\n(`unity-input` → `resources\u002F`), and the journey from `templates\u002F` into a PlayMode test assembly\nthat also references the harness. The runtime files need no package — 2D physics and animation are\nbuilt-in modules; the journeys need `com.unity.test-framework`.\n\nEvery controller here is two halves that never mix:\n\n```\nRunInput ──► rules ──────────────► collision ─────────────► Rigidbody2D\n(struct)     PlatformerController2D  PlatformerMotor2D        MovePosition, once per step\n             what the runner wants   what the level allows\n             coyote, cut, dash       ground, slope, one-way, carry\n```\n\n| Half | Knows | Never knows |\n|---|---|---|\n| Rules — `resources\u002FPlatformerController2D.cs` | Input levels and presses, timers, abilities, gravity, jump velocity | Layers, casts, normals |\n| Collision — `resources\u002FPlatformerMotor2D.cs` | Layers, the body's shape, what is ground, the platform under the feet | Input, gravity, what a jump is |\n\nThe rules call one method — `Move(velocity, dt)` — and read back four facts: `Grounded`,\n`WallSide`, `OnOneWay`, `Velocity`. That seam is what lets a journey prove the jump, and lets the\ncollision half be replaced without touching a rule.\n\n---\n\n## 0. Pick the movement model\n\nOne model per character, chosen by constraint, written down before any code. If the project has\nnot named its view and movement model, `unity-gameplay` does that first.\n\n| The game is | Model | Transform owner | Files |\n|---|---|---|---|\n| Side view under gravity: platformer, gated exploration, auto-runner | Kinematic body, moved to where casts allow | `PlatformerMotor2D` | `PlatformerMotor2D.cs`, `PlatformerController2D.cs`, `MovingPlatform2D.cs` |\n| Seen from above, free movement: action-adventure, twin-stick, fixed-screen shooter | Dynamic body, gravity scale 0, velocity assigned every step | The solver, from one writer | `TopDownMotor2D.cs` |\n| Cells: tactics, tile puzzle, RPG authored to the tile | The cell map; the transform is a tween | `GridStepMover` | `GridStepMover.cs` |\n\nWhy each, what each costs, and the grep that finds a second writer: `reference\u002Fmodel-choice.md`.\n\n## 1. Start here — the side run\n\n1. **Decide four numbers** before the level exists: apex height 3, time to apex 0.4 s, run speed\n   8, coyote time 0.1 s. Gravity (37.5) and jump velocity (15) are derived, never typed in.\n2. **Build the runner.** `Rigidbody2D` (Interpolate) + one `BoxCollider2D` (0.8 × 1.8) +\n   `RunInputReader` + `PlatformerMotor2D` + `PlatformerController2D`. The motor makes the body\n   kinematic. Set `solid` to the rooftop layer and `oneWay` to the platform layer — two layers,\n   never one.\n3. **Register with the probe**, where the game wires its harness:\n\n```csharp\nGameProbe.SetPlayerVelocity(() => run.transform, () => (Vector3)run.Velocity);\nGameProbe.Register(\"grounded\", () => run.Grounded);\nGameProbe.SetState(() => run.State);          \u002F\u002F Grounded · Rising · Falling · WallSlide · Dash\n```\n\n4. **Prove it** with `templates\u002FPlatformerJourneyTest.cs`, which builds its own rooftops:\n\n| Test | Asserts |\n|---|---|\n| `Jump_ReachesTheConfiguredApex` | A held jump peaks at `apexHeight − jumpVelocity·dt\u002F2` (2.85), within 0.05 |\n| `Press_JustAfterTheLedge_StillJumps` | A press spent 0.08 s after the last grounded step jumps |\n| `Press_LongAfterTheLedge_IsRefused` | A press at 0.16 s does not: coyote time is not a double jump |\n| `Press_JustBeforeLanding_JumpsOnLanding` | With a 0.15 s buffer, a press 0.10 s before the feet touch jumps from the roof |\n| all four | `JourneyInvariants2D.NeverInside2D` reports nothing |\n\n5. **Show the gate can fail.** `PLATFORMER_JOURNEY_BREAK=coyote`, `=buffer` and `=tap` each turn\n   one test red. A journey nobody has seen fail proves nothing.\n6. **Measure the jump** with `unity-gameplay` → `scripts\u002Fjump_report.py` against the\n   timeline the first test wrote, then build the level to the number it prints.\n\nThe depot is the same loop with `TopDownMotor2D` and `templates\u002FTopDownJourneyTest.cs`\n(diagonal speed, wall slide with `NeverInside2D`, stopping distance); the sorting yard with\n`GridStepMover` and two delegates.\n\n## Discipline\n\n- **One writer of the transform.** `Move` is called from one place; nothing else assigns\n  `transform.position`, `linearVelocity` or a root-motion curve on that object. Launch pads,\n  hazards and conveyors hand a velocity to the controller (`Push`); they do not move the body.\n- **Rules and collision stay in separate files.** A coyote timer in the motor or a layer mask in\n  the controller is the first step back to one file nobody can test.\n- **Author what the player sees.** Apex height and time to apex are the tunables; gravity and\n  jump velocity are computed. Do not use the project's gravity for the jump.\n- **Assign the jump, never add it.** `v.y = jumpVelocity`. Added to a slope's or a lift's upward\n  velocity it is a different jump on every surface.\n- **Velocity first, then position, gravity from the take-off step.** That is the integrator the\n  level numbers assume; the apex sits `v0·dt\u002F2` under the designed one. Change the order and\n  every ledge in the game moves.\n- **Ground is a cast of the body's own shape and a normal, not a callback, a tag or a ray from\n  the centre.** And never while rising.\n- **Condition first, then `TryUse`.** `canJump && input.TryUse(Launch)` buffers a press;\n  the reverse spends it in mid-air. The buffer length lives on the input source.\n- **Read levels with `Peek`, presses with `TryUse`, both in `FixedUpdate`.** Never a device, and\n  never a press rebuilt from `held && !wasHeld`.\n- **A held jump and a tapped jump are different jumps.** Measure the apex with the button held;\n  a driver that taps is measuring the short hop.\n- **Clamp a move vector, do not normalise it.** Clamped, a keyboard diagonal is not 41% fast and\n  a half-pushed stick is still half speed.\n- **Facing comes from intent, never from velocity,** and keeps its value at rest.\n- **In a cell game the cell is the position.** It changes when the step starts; the transform\n  catches up. Game logic that reads the transform is wrong for half of every step.\n- **Coyote time, buffer, apex hang and extra jumps are level-design numbers.** Each changes\n  reach; fix them before rooms are drawn and re-run the reach table when one moves.\n- **The human keeps the feel verdict.** The journey shows the apex is 2.85 and the press was\n  honoured at 0.08 s; whether 0.4 s to the apex feels right is a judgement.\n\n## Scope — what this skill does NOT do\n\n| Not here | Go to |\n|---|---|\n| Which perspective and movement model the game has; genre recipes; reach tables | `unity-gameplay` |\n| Tilemap layers, rooms, chunks, level data | `unity-2d-level` |\n| Sort order, sorting from above, 2D lights | `unity-2d-rendering` |\n| Bones, skinned sprites, swapping parts | `unity-2d-animation` |\n| Animator graphs, blend trees, events (the bridge feeds them) | `unity-animation` |\n| Frames into clips, pivots | `unity-2d-sprites` |\n| Pressing use on a switch, a gate or a pickup | `unity-interaction` |\n| Health, hurt, invincibility frames and when a hit asks for knock-back | `unity-combat` |\n| Click-to-move: on a tile board `unity-2d-grid` (`GridPathfinder`); free 2D movement `unity-navigation` → `reference\u002Frecipes.md` §9 |\n| 3D characters and PhysX | `unity-physics-3d` |\n\nEnemy behaviour, combat and interaction are not controllers: a sentry that patrols a ledge uses\n`PlatformerMotor2D` with its own rules in place of `PlatformerController2D`, and what it decides\nis `unity-game-ai`.\n",{"name":5,"description":7},"main","b7459aa49fb881c5abb764223674ec8f397a02b1","skills\u002Funity-2d-controller",0,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills","https:\u002F\u002Fgithub.com\u002FtipoLi5890","https:\u002F\u002Ftipoli5890.github.io\u002F","2026-11-10 09:16:41",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add tipoLi5890\u002Funity-dev-skills --skill unity-2d-controller",{"tool":38,"command":39},"bunx","bunx skills add tipoLi5890\u002Funity-dev-skills --skill unity-2d-controller",{"tool":41,"command":42},"pnpm","pnpm dlx skills add tipoLi5890\u002Funity-dev-skills --skill unity-2d-controller","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002FSKILL.md",true,[46,52,56,60,64,68,72,78,82,86,90,94,98,102],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"reference\u002Ffacing-and-animator-bridge.md","REFERENCE","参考文档",9589,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Freference\u002Ffacing-and-animator-bridge.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"reference\u002Fgrid-step.md",9051,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Freference\u002Fgrid-step.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"reference\u002Fjump-maths.md",7824,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Freference\u002Fjump-maths.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"reference\u002Fmodel-choice.md",8664,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Freference\u002Fmodel-choice.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"reference\u002Fplatformer.md",16129,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Freference\u002Fplatformer.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"reference\u002Ftopdown-free.md",9994,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Freference\u002Ftopdown-free.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"resources\u002FAnimatorBridge2D.cs","OTHER","其他",6908,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Fresources\u002FAnimatorBridge2D.cs",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"resources\u002FGridStepMover.cs",7455,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Fresources\u002FGridStepMover.cs",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"resources\u002FMovingPlatform2D.cs",2955,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Fresources\u002FMovingPlatform2D.cs",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"resources\u002FPlatformerController2D.cs",11926,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Fresources\u002FPlatformerController2D.cs",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"resources\u002FPlatformerMotor2D.cs",16216,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Fresources\u002FPlatformerMotor2D.cs",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"resources\u002FTopDownMotor2D.cs",7504,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Fresources\u002FTopDownMotor2D.cs",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"templates\u002FPlatformerJourneyTest.cs",16577,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Ftemplates\u002FPlatformerJourneyTest.cs",{"path":103,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":104,"sourceHtmlUrl":105},"templates\u002FTopDownJourneyTest.cs",11842,"https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-2d-controller\u002Ftemplates\u002FTopDownJourneyTest.cs",[107,114,121,128,135,142],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7CMNYXQNW14ST64EYEEZ5V5","unity-web-release","Ship a WebGL\u002FWebGPU build: shrink the download, Brotli server headers, Safari and iPhone memory.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-web-release\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7CMNTHD1EA70CCJ2F9FN3HT","unity-vivox","Vivox voice and text chat: channels, positional voice, mute and push-to-talk, mic permission.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-vivox\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7CMNPHPRQZ7K1FES2953DRQ","unity-urp-migration","Migrate a Built-in project to URP, or fix a half-moved one: pink materials, PPv2, old shaders.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-urp-migration\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":19},"01M7CMNJ756DK4V0D50HMAZYQW","unity-ui-ugui","Canvas UI (uGUI): CanvasScaler, RectTransform anchors, Layout Groups, ScrollView, UI built from C#.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-ui-ugui\u002FSKILL.md",[],[],{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":19},"01M7CMNDESZN79EK5FRDXCA2WA","unity-ui-toolkit","UI Toolkit (UXML, USS, UIDocument): flex layout, binding, custom elements, editor windows.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-ui-toolkit\u002FSKILL.md",[],[],{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":19},"01M7CMN8GBV07K0YCY07BJ6A1W","unity-ugs","Unity Gaming Services API: which package, init and sign-in order, Cloud Save, Cloud Code, Remote Config.","https:\u002F\u002Fgithub.com\u002FtipoLi5890\u002Funity-dev-skills\u002Fblob\u002Fmain\u002Fskills\u002Funity-ugs\u002FSKILL.md",[],[]]