Skip to content

Add Unity 6 C# instructions - #5209

Closed
Anthony-Pan wants to merge 1 commit into
github:mainfrom
Anthony-Pan:add-unity-6-csharp-instructions
Closed

Anthony-Pan wants to merge 1 commit into
github:mainfrom
Anthony-Pan:add-unity-6-csharp-instructions

Conversation

@Anthony-Pan

Copy link
Copy Markdown

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, workflow, or canvas extension file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, workflow, or canvas extension with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the main branch for this pull request.

Description

Adds instructions/unity-6-csharp.instructions.md (applyTo **/*.cs): Unity 6.3 LTS rules. Read input through the Input System package (legacy Input.GetAxis/GetKey/GetButton throw in Input-System-only projects, the Unity 6 default for new projects). Use Rigidbody.linearVelocity. Replace obsolete FindObjectOfType with FindAnyObjectByType or serialized references. Read input in Update and apply physics in FixedUpdate. Never edit .meta files or hand-write scene YAML.

Copied from the free Loadout Unity 6 pack (MIT), last verified against Unity 6 docs. Links only the free pack page https://loadout-blush.vercel.app/packs/unity-6 — nothing paid. Made by Anthony Pan.

Godot is intentionally omitted because #5151 already proposes Godot 4 GDScript instructions.


Type of Contribution

  • New instruction file.

Additional Notes

AI disclosure: the rule text was drafted with AI assistance and checked against Unity 6 documentation. This PR was prepared by an AI agent working on my behalf.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Add instructions/unity-6-csharp.instructions.md for Unity 6.3 LTS and regenerate docs/README.instructions.md.

Co-authored-by: Anthony Pan <anthony.pan@onyx-lab.com>
@Anthony-Pan
Anthony-Pan requested review from a team as code owners October 21, 2026 13:34
@github-actions github-actions Bot added instructions PR touches instructions new-submission PR adds at least one new contribution awaiting-automation merge-risk:medium labels Oct 21, 2026
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

🚦 Submission status: 👀 Ready for review

Risk tier: merge-risk:medium — New or substantially changed resource without privileged execution
Required to merge: passing submission-gate checks plus 1 approval from reviewers with write access.

Why this tier
  • Adds 1 file(s), e.g. instructions/unity-6-csharp.instructions.md
  • Changes 80 lines (low-risk limit is 40)

Automated checks

Check Status Details
Line endings ✅ Passed Passed · logs
Spelling ✅ Passed Passed · logs
Generated README consistency ✅ Passed Passed · logs
Risk scan ✅ Passed Passed · logs
Contributor reputation ✅ Passed Passed · logs
Duplicate resource scan ✅ Passed Passed · logs
PR quality signal ⏭️ Skipped Skipped by its workflow · logs

Review

  • Approvals: 0/1
  • Assigned reviewer: not assigned yet — comment /request-review to ask for one
  • Review target date: not set
  • Still needed: 1 more approval(s)
  • No staffed reviewer pool owns these files yet; any reviewer with write access counts as the domain reviewer.

Commands

Command Who What it does
/rerun-checks PR author, maintainers Re-runs failed or incomplete checks and re-evaluates this gate
/request-review PR author, maintainers Asks the review rotation to assign a reviewer (adds needs-reviewer)

Updated for ff3a52d · gate run · This comment is maintained automatically — see submission gate docs.

@github-actions

Copy link
Copy Markdown
Contributor

🔒 PR Risk Scan Results

Scanned 1 changed file(s).

Severity Count
🔴 High 0
🟠 Medium 0
ℹ️ Info 0

✅ No matching risk patterns were detected in changed files.

This is an automated soft-gate report. Findings indicate review targets and do not block merge by themselves.

@github-actions github-actions Bot added ready-for-review Submission passed intake validation and is ready for maintainer review and removed awaiting-automation labels Oct 21, 2026
@aaronpowell

Copy link
Copy Markdown
Contributor

Thanks for the contribution, @Anthony-Pan. We're going to close this one. The instructions are copied from the Loadout free Unity 6 pack and link back to loadout-blush.vercel.app, whose homepage sells the matching 'Unity 6 Pro' rules on Gumroad. Under our guidance for paid-service submissions we don't accept free samples that funnel to a paid product. Separately, some claims need fixing (Rigidbody.velocity is obsolete in Unity 6, not non-existent). If you'd like to contribute standalone Unity guidance validated with Copilot in a real Unity 6 project, please open a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instructions PR touches instructions merge-risk:medium new-submission PR adds at least one new contribution ready-for-review Submission passed intake validation and is ready for maintainer review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants