这是第一个 Unity 开放项目的repo,是 Unity 和社区合作创建的一个小型开源游戏演示,第一款游戏是一款名为 Chop Chop 的动作冒险游戏。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

528 行
17 KiB

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2562325756631881580
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7396659379280614237}
- component: {fileID: 1052487680362072568}
- component: {fileID: 2866394159173914971}
- component: {fileID: 6363287056841163546}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7396659379280614237
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2562325756631881580}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8441395468167119223}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 15.9487, y: 0}
m_SizeDelta: {x: -121.2253, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1052487680362072568
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2562325756631881580}
m_CullTransparentMesh: 0
--- !u!114 &2866394159173914971
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2562325756631881580}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: fe129390af88b40faa85c89db6820ea6, type: 2}
m_sharedMaterial: {fileID: -5592514773993622969, guid: fe129390af88b40faa85c89db6820ea6,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4281479730
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 24
m_fontSizeBase: 24
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 1
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &6363287056841163546
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2562325756631881580}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 56eb0353ae6e5124bb35b17aff880f16, type: 3}
m_Name:
m_EditorClassIdentifier:
m_StringReference:
m_TableReference:
m_TableCollectionName:
m_TableEntryReference:
m_KeyId: 0
m_Key:
m_FallbackState: 0
m_FormatArguments: []
m_UpdateString:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 2866394159173914971}
m_TargetAssemblyTypeName:
m_MethodName: set_text
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &9118565710860962478
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8441395468167119223}
- component: {fileID: 7878691875630872946}
- component: {fileID: 2941101403068442936}
- component: {fileID: 2076342500668794697}
- component: {fileID: 8812776211489027372}
m_Layer: 5
m_Name: ActionButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8441395468167119223
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9118565710860962478}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 7396659379280614237}
- {fileID: 8925056669294641606}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.05}
m_AnchorMax: {x: 0.5, y: 0.13}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 300, y: 0}
m_Pivot: {x: 0.5, y: 1}
--- !u!222 &7878691875630872946
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9118565710860962478}
m_CullTransparentMesh: 0
--- !u!114 &2941101403068442936
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9118565710860962478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 1335ff5b1b3db4dab97367ef2fe187a7, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &2076342500668794697
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9118565710860962478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 2
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 21300000, guid: 1335ff5b1b3db4dab97367ef2fe187a7,
type: 3}
m_PressedSprite: {fileID: 21300000, guid: 1335ff5b1b3db4dab97367ef2fe187a7, type: 3}
m_SelectedSprite: {fileID: 21300000, guid: 1335ff5b1b3db4dab97367ef2fe187a7, type: 3}
m_DisabledSprite: {fileID: 21300000, guid: de74024259ffb4053bd23f3f7d26e397, type: 3}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 2941101403068442936}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 8812776211489027372}
m_TargetAssemblyTypeName: UIInventoryButton, Assembly-CSharp
m_MethodName: ClickActionButton
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &8812776211489027372
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 9118565710860962478}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 119e513d415dc4333a7550d7500c1662, type: 3}
m_Name:
m_EditorClassIdentifier:
_buttonActionText: {fileID: 6363287056841163546}
_buttonAction: {fileID: 2076342500668794697}
buttonPromptSetter: {fileID: 881207559220280466}
_inputReader: {fileID: 11400000, guid: 945ec0365077176418488737deed54be, type: 2}
--- !u!1001 &2240474200011583588
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 8441395468167119223}
m_Modifications:
- target: {fileID: 566479659153628577, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 90d21c5e366e84dfca8fa91810fcb031,
type: 3}
- target: {fileID: 611419764554587403, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_fontSize
value: 30
objectReference: {fileID: 0}
- target: {fileID: 611419764554587403, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_margin.w
value: 11.274349
objectReference: {fileID: 0}
- target: {fileID: 611419764554587403, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_margin.y
value: 11.016647
objectReference: {fileID: 0}
- target: {fileID: 611419764554587403, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_fontSizeBase
value: 30
objectReference: {fileID: 0}
- target: {fileID: 611419764554587403, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_fontColor32.rgba
value: 4278199097
objectReference: {fileID: 0}
- target: {fileID: 1381882642586701046, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: _interactionKeyboardCode
value: A
objectReference: {fileID: 0}
- target: {fileID: 3588651699909676106, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_Name
value: UIButtonPrompt
objectReference: {fileID: 0}
- target: {fileID: 6055085382729598900, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6055085382729598900, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_Pivot.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_SizeDelta.x
value: 47.7727
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_SizeDelta.y
value: 42.1795
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 18.580017
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0.79999924
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8521478320332431690, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8521478320332431690, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_SizeDelta.y
value: -5.9086
objectReference: {fileID: 0}
- target: {fileID: 8521478320332431690, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8521478320332431690, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 2.9543
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 037cb8c24491a434b942daa78a265cdd, type: 3}
--- !u!224 &8925056669294641606 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 7263154644691972514, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
m_PrefabInstance: {fileID: 2240474200011583588}
m_PrefabAsset: {fileID: 0}
--- !u!114 &881207559220280466 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 1381882642586701046, guid: 037cb8c24491a434b942daa78a265cdd,
type: 3}
m_PrefabInstance: {fileID: 2240474200011583588}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 15e2a4adf15bc4d7d98969c6af6727cb, type: 3}
m_Name:
m_EditorClassIdentifier: