Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added getCurrentScene function #56

Merged
merged 2 commits into from
May 26, 2024
Merged

feat: added getCurrentScene function #56

merged 2 commits into from
May 26, 2024

Conversation

amyspark-ng
Copy link
Contributor

Added a function that gets the name of the current scene, tried to avoid adding a property to the game object but i really couldn't find a way to do it, so i just had to add one

src/types.ts Outdated
/**
* Gets the name of the current scene.
*
* @since v3000.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

3001 in fact

src/types.ts Outdated
* Gets the name of the current scene.
*
* @since v3000.0
* @group Scenes
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also current used is Scene

@amyspark-ng amyspark-ng requested a review from lajbel May 26, 2024 19:33
@lajbel lajbel merged commit 4939bbf into kaplayjs:master May 26, 2024
1 check passed
Copy link
Member

@niceEli niceEli left a comment

Choose a reason for hiding this comment

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

lgtm

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

Successfully merging this pull request may close these issues.

3 participants