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:
5
Assets/UnityTechnologies/Final/UI/Ruby/DialogWindow.uxml
Normal file
5
Assets/UnityTechnologies/Final/UI/Ruby/DialogWindow.uxml
Normal file
@@ -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: 92203c76062cfed4a8dbc91f651ec3fa
|
||||
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/Ruby/DialogWindow.uxml
|
||||
uploadId: 701356
|
||||
10
Assets/UnityTechnologies/Final/UI/Ruby/MainUI.uxml
Normal file
10
Assets/UnityTechnologies/Final/UI/Ruby/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/UI/DialogWindow.uxml?fileID=9197481963319205126&guid=92203c76062cfed4a8dbc91f651ec3fa&type=3#DialogWindow" />
|
||||
<ui:VisualElement name="HealthbarBackground" style="background-image: url('project://database/Assets/UnityTechnologies/Art/Sprites/UI/UIHealthFrame.png?fileID=21300000&guid=2e9a3b284be34c14e809fdcd0f799ba1&type=3#UIHealthFrame'); 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/Art/Sprites/UI/UIHealthBar.png?fileID=21300000&guid=292bb6b60652e5541aa6fd8507b5087e&type=3#UIHealthBar'); -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/Art/Sprites/UI/CharacterPortrait.png?fileID=21300000&guid=ec73128b64458a947a9603ad250e5956&type=3#CharacterPortrait'); -unity-background-scale-mode: scale-to-fit; height: 135px; width: 152px; position: absolute; top: 12px; left: 20px;" />
|
||||
</ui:VisualElement>
|
||||
<ui:Instance template="DialogWindow" name="DialogWindow" style="position: absolute; bottom: 0; top: 70%; left: 10%; right: 10%;" />
|
||||
</ui:UXML>
|
||||
17
Assets/UnityTechnologies/Final/UI/Ruby/MainUI.uxml.meta
Normal file
17
Assets/UnityTechnologies/Final/UI/Ruby/MainUI.uxml.meta
Normal file
@@ -0,0 +1,17 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b84a83b36ac37344a0183e3e2575c11
|
||||
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/Ruby/MainUI.uxml
|
||||
uploadId: 701356
|
||||
Reference in New Issue
Block a user