mirror of
				https://gitee.com/ruanwujing/green-pack-cocos
				synced 2025-10-30 19:06:24 +00:00 
			
		
		
		
	调节台球旋转
This commit is contained in:
		| @@ -8,7 +8,7 @@ export class TestBilliardsParent extends Component { | |||||||
|         for (let i = 0; i < this.node.children.length; i++) { |         for (let i = 0; i < this.node.children.length; i++) { | ||||||
|             let ball:TestBilliards = this.node.children[i].getComponent(TestBilliards); |             let ball:TestBilliards = this.node.children[i].getComponent(TestBilliards); | ||||||
|          |          | ||||||
|             ball.scrollSpeed = (i + 1); |             ball.scrollSpeed = i % 4 + 1; | ||||||
|          |          | ||||||
|             let ax = i % 4; |             let ax = i % 4; | ||||||
|             let ay = Math.floor(i / 4); |             let ay = Math.floor(i / 4); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user