mirror of
https://github.com/CoonS2/Unity2DProject.git
synced 2026-02-04 19:53:51 +09:00
2DProject 및 Sprite 생성
1. 2DProject 생성 2. Sprite 및 AnimationController
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
||||
<ui:VisualElement name="Background" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); width: 100%; height: 100%; background-image: url('project://database/Assets/UnityTechnologies/Art/Sprites/UI/UIDialogueBox.png?fileID=21300000&guid=e19efba90db658c4980b2a4d32206764&type=3#UIDialogueBox');">
|
||||
<ui:Label tabindex="-1" text="Hey! Help me fix all those broken robots!" display-tooltip-when-elided="true" style="width: 100%; height: 100%; padding-left: 30px; padding-right: 30px; padding-top: 30px; padding-bottom: 30px; font-size: 32px; white-space: normal; color: rgb(255, 255, 255); -unity-font-style: bold;" />
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db948237dfcb51b4d98e194099d6ee8c
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271239
|
||||
packageName: 'Unity Learn | 2D Beginner: Adventure Game Complete Project | URP'
|
||||
packageVersion: 1.1
|
||||
assetPath: Assets/UnityTechnologies/Final/UI/Ducko/DialogWindow.uxml
|
||||
uploadId: 701356
|
||||
10
Assets/UnityTechnologies/Final/UI/Ducko/MainUI.uxml
Normal file
10
Assets/UnityTechnologies/Final/UI/Ducko/MainUI.uxml
Normal file
@@ -0,0 +1,10 @@
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
||||
<ui:Template name="DialogWindow" src="project://database/Assets/UnityTechnologies/ArtRuby/UI/DialogWindow.uxml?fileID=9197481963319205126&guid=92203c76062cfed4a8dbc91f651ec3fa&type=3#DialogWindow" />
|
||||
<ui:VisualElement name="HealthbarBackground" style="background-image: url('project://database/Assets/UnityTechnologies/ArtDucko/Sprite/UIHealthFrameDucko.png?fileID=21300000&guid=918e7a741c040c140a699a450f3d6e2d&type=3#UIHealthFrameDucko'); height: 165px; -unity-background-scale-mode: scale-to-fit; width: 346px;">
|
||||
<ui:VisualElement name="HealthbarContainer" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); height: 52px; width: 189px; position: absolute; top: 52px; left: 144px;">
|
||||
<ui:VisualElement name="Healthbar" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); background-image: url('project://database/Assets/UnityTechnologies/ArtDucko/Sprite/UIHealthBarDucko.png?fileID=21300000&guid=335e35d6c24ef5141b778902f9d19a3b&type=3#UIHealthBarDucko'); -unity-background-scale-mode: stretch-to-fill; height: 100%; width: 50%;" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement name="CharacterPortrait" style="flex-grow: 1; background-color: rgba(0, 0, 0, 0); background-image: url('project://database/Assets/UnityTechnologies/ArtDucko/Sprite/CharacterPortraitDucko.png?fileID=21300000&guid=f0485db37ba2b03449d2d7917160fcb1&type=3#CharacterPortraitDucko'); -unity-background-scale-mode: scale-to-fit; height: 135px; width: 129px; position: absolute; top: 12px; left: 6px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:Instance template="DialogWindow" name="DialogWindow" style="position: absolute; left: 10%; top: 70%; right: 10%; bottom: 0;" />
|
||||
</ui:UXML>
|
||||
17
Assets/UnityTechnologies/Final/UI/Ducko/MainUI.uxml.meta
Normal file
17
Assets/UnityTechnologies/Final/UI/Ducko/MainUI.uxml.meta
Normal file
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: beb28639fb7794449a5d478deb002a15
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 271239
|
||||
packageName: 'Unity Learn | 2D Beginner: Adventure Game Complete Project | URP'
|
||||
packageVersion: 1.1
|
||||
assetPath: Assets/UnityTechnologies/Final/UI/Ducko/MainUI.uxml
|
||||
uploadId: 701356
|
||||
Reference in New Issue
Block a user