mirror of
				https://github.com/Gongxh0901/kunpolibrary
				synced 2025-10-30 02:45:46 +00:00 
			
		
		
		
	仓库中添加内置的demo
This commit is contained in:
		
							
								
								
									
										179
									
								
								demo/assets/resources/prefab/ball.prefab
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										179
									
								
								demo/assets/resources/prefab/ball.prefab
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,179 @@ | ||||
| [ | ||||
|   { | ||||
|     "__type__": "cc.Prefab", | ||||
|     "_name": "ball", | ||||
|     "_objFlags": 0, | ||||
|     "__editorExtras__": {}, | ||||
|     "_native": "", | ||||
|     "data": { | ||||
|       "__id__": 1 | ||||
|     }, | ||||
|     "optimizationPolicy": 0, | ||||
|     "persistent": false | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.Node", | ||||
|     "_name": "ball", | ||||
|     "_objFlags": 0, | ||||
|     "__editorExtras__": {}, | ||||
|     "_parent": null, | ||||
|     "_children": [], | ||||
|     "_active": true, | ||||
|     "_components": [ | ||||
|       { | ||||
|         "__id__": 2 | ||||
|       }, | ||||
|       { | ||||
|         "__id__": 4 | ||||
|       }, | ||||
|       { | ||||
|         "__id__": 6 | ||||
|       } | ||||
|     ], | ||||
|     "_prefab": { | ||||
|       "__id__": 8 | ||||
|     }, | ||||
|     "_lpos": { | ||||
|       "__type__": "cc.Vec3", | ||||
|       "x": 0, | ||||
|       "y": 0, | ||||
|       "z": 0 | ||||
|     }, | ||||
|     "_lrot": { | ||||
|       "__type__": "cc.Quat", | ||||
|       "x": 0, | ||||
|       "y": 0, | ||||
|       "z": 0, | ||||
|       "w": 1 | ||||
|     }, | ||||
|     "_lscale": { | ||||
|       "__type__": "cc.Vec3", | ||||
|       "x": 1, | ||||
|       "y": 1, | ||||
|       "z": 1 | ||||
|     }, | ||||
|     "_mobility": 0, | ||||
|     "_layer": 1073741824, | ||||
|     "_euler": { | ||||
|       "__type__": "cc.Vec3", | ||||
|       "x": 0, | ||||
|       "y": 0, | ||||
|       "z": 0 | ||||
|     }, | ||||
|     "_id": "" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.Animation", | ||||
|     "_name": "", | ||||
|     "_objFlags": 0, | ||||
|     "__editorExtras__": {}, | ||||
|     "node": { | ||||
|       "__id__": 1 | ||||
|     }, | ||||
|     "_enabled": true, | ||||
|     "__prefab": { | ||||
|       "__id__": 3 | ||||
|     }, | ||||
|     "playOnLoad": true, | ||||
|     "_clips": [ | ||||
|       { | ||||
|         "__uuid__": "94e351a1-10f0-41f7-ab21-f29c24e9a2ce", | ||||
|         "__expectedType__": "cc.AnimationClip" | ||||
|       } | ||||
|     ], | ||||
|     "_defaultClip": { | ||||
|       "__uuid__": "94e351a1-10f0-41f7-ab21-f29c24e9a2ce", | ||||
|       "__expectedType__": "cc.AnimationClip" | ||||
|     }, | ||||
|     "_id": "" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.CompPrefabInfo", | ||||
|     "fileId": "87sV3b0W5BJJar0Hag1pkp" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.UITransform", | ||||
|     "_name": "", | ||||
|     "_objFlags": 0, | ||||
|     "__editorExtras__": {}, | ||||
|     "node": { | ||||
|       "__id__": 1 | ||||
|     }, | ||||
|     "_enabled": true, | ||||
|     "__prefab": { | ||||
|       "__id__": 5 | ||||
|     }, | ||||
|     "_contentSize": { | ||||
|       "__type__": "cc.Size", | ||||
|       "width": 62, | ||||
|       "height": 62 | ||||
|     }, | ||||
|     "_anchorPoint": { | ||||
|       "__type__": "cc.Vec2", | ||||
|       "x": 0.5, | ||||
|       "y": 0.5 | ||||
|     }, | ||||
|     "_id": "" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.CompPrefabInfo", | ||||
|     "fileId": "3dkKKpOntLKIx/L+80FwW3" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.Sprite", | ||||
|     "_name": "", | ||||
|     "_objFlags": 0, | ||||
|     "__editorExtras__": {}, | ||||
|     "node": { | ||||
|       "__id__": 1 | ||||
|     }, | ||||
|     "_enabled": true, | ||||
|     "__prefab": { | ||||
|       "__id__": 7 | ||||
|     }, | ||||
|     "_customMaterial": null, | ||||
|     "_srcBlendFactor": 2, | ||||
|     "_dstBlendFactor": 4, | ||||
|     "_color": { | ||||
|       "__type__": "cc.Color", | ||||
|       "r": 255, | ||||
|       "g": 255, | ||||
|       "b": 255, | ||||
|       "a": 255 | ||||
|     }, | ||||
|     "_spriteFrame": { | ||||
|       "__uuid__": "274235a8-2bda-4684-b0c6-d9c089bd9dd6@f9941", | ||||
|       "__expectedType__": "cc.SpriteFrame" | ||||
|     }, | ||||
|     "_type": 0, | ||||
|     "_fillType": 0, | ||||
|     "_sizeMode": 1, | ||||
|     "_fillCenter": { | ||||
|       "__type__": "cc.Vec2", | ||||
|       "x": 0, | ||||
|       "y": 0 | ||||
|     }, | ||||
|     "_fillStart": 0, | ||||
|     "_fillRange": 0, | ||||
|     "_isTrimmedMode": true, | ||||
|     "_useGrayscale": false, | ||||
|     "_atlas": null, | ||||
|     "_id": "" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.CompPrefabInfo", | ||||
|     "fileId": "60Loe2uohAiIclZesDo7Fh" | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.PrefabInfo", | ||||
|     "root": { | ||||
|       "__id__": 1 | ||||
|     }, | ||||
|     "asset": { | ||||
|       "__id__": 0 | ||||
|     }, | ||||
|     "fileId": "c46/YsCPVOJYA4mWEpNYRx", | ||||
|     "instance": null, | ||||
|     "targetOverrides": null | ||||
|   } | ||||
| ] | ||||
							
								
								
									
										13
									
								
								demo/assets/resources/prefab/ball.prefab.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								demo/assets/resources/prefab/ball.prefab.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| { | ||||
|   "ver": "1.1.50", | ||||
|   "importer": "prefab", | ||||
|   "imported": true, | ||||
|   "uuid": "56dc9bdf-19c7-4319-8c27-628ea6424696", | ||||
|   "files": [ | ||||
|     ".json" | ||||
|   ], | ||||
|   "subMetas": {}, | ||||
|   "userData": { | ||||
|     "syncNodeName": "ball" | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user