Created
June 26, 2022 10:24
-
-
Save flushpot1125/a2558229296f52a1c3664cf3775bc20b to your computer and use it in GitHub Desktop.
CreateInstance.ts
This file contains 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 _impluseShot():void{ | |
const ballInstance = this._ball.createInstance("ballInstance"); | |
ballInstance.position.copyFrom(this._ball.getAbsolutePosition()); | |
ballInstance.scaling = new Vector3(10,10,10); | |
ballInstance.isVisible=false;//非表示になる | |
//・・・ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment