Skip to content

Conversation

willeastcott
Copy link
Contributor

No description provided.

@willeastcott willeastcott requested a review from Copilot June 15, 2025 21:22
@willeastcott willeastcott self-assigned this Jun 15, 2025
@willeastcott willeastcott added the enhancement New feature or request label Jun 15, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR ensures every PlayCanvas script class explicitly defines a static scriptName property and updates the example HTML to match the new script name casing.

  • Added static scriptName to all example script classes
  • Updated <pc-script> tag in text3d.html to use lowercase name

Reviewed Changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.

File Description
examples/text3d.html Renamed <pc-script name> from text3D to text3d
examples/assets/scripts/*.mjs Added static scriptName = '<scriptName>' to classes

@willeastcott willeastcott merged commit 69a8bac into main Jun 15, 2025
2 checks passed
@willeastcott willeastcott deleted the scriptname branch June 15, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant