Created
October 10, 2025 21:58
-
-
Save flushpot1125/29e4bcdee4d7046cc3ad838f80d084ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private _shoot(): void { | |
| const offset = new Vector3(20, 0, 0); // プレイヤーの前方に配置 | |
| const position = this._mesh.position.add(offset); | |
| new Bullet(this._mesh.getScene(), position); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment