Skip to content

Conversation

Jklawreszuk
Copy link
Collaborator

PR Details

PR modernizes current script templates mainly by using file-scoped namespaces

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@Jklawreszuk
Copy link
Collaborator Author

For consistency, I also updated android and ios project templates

@Eideren Eideren merged commit 2d5e6a6 into stride3d:master Mar 29, 2025
2 checks passed
@Eideren
Copy link
Collaborator

Eideren commented Mar 29, 2025

Thanks !

@Jklawreszuk Jklawreszuk deleted the modern-templates branch March 29, 2025 13:59
{
if (Input.IsKeyDown(Keys.LeftShift) && Input.IsKeyDown(Keys.LeftCtrl) && Input.IsKeyReleased(Keys.P))
if (simulation != null)
{
if (simulation != null)
Copy link
Contributor

Choose a reason for hiding this comment

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

Double if with the same condition. Also, not very important, but isn't it better now to is not null?

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

Successfully merging this pull request may close these issues.

4 participants