parent
de502ca3de
commit
e6858c12d8
22 changed files with 281 additions and 34 deletions
@ -0,0 +1,19 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!114 &11400000 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 0} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 4453d1448ec14f5fa81aae3c54f78010, type: 3} |
||||||
|
m_Name: BorderBuff |
||||||
|
m_EditorClassIdentifier: |
||||||
|
type: 1 |
||||||
|
effect: 1 |
||||||
|
pickupDuration: 10 |
||||||
|
activeDuration: 10 |
||||||
|
image: {fileID: 21300000, guid: 500c6690dd1efa237973d86a4232f5c0, type: 3} |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: df0f24b538b5fed02a7faa3a5e0f121b |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,19 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!114 &11400000 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 0} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 4453d1448ec14f5fa81aae3c54f78010, type: 3} |
||||||
|
m_Name: BorderNerf |
||||||
|
m_EditorClassIdentifier: |
||||||
|
type: 0 |
||||||
|
effect: 1 |
||||||
|
pickupDuration: 10 |
||||||
|
activeDuration: 10 |
||||||
|
image: {fileID: 21300000, guid: 555c4207622e3e429bea3c98ad8ae3f5, type: 3} |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 73dc3bbc93cba37b1b989a9497b680e7 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,90 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &7947935438987891319 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 7947935438987891323} |
||||||
|
- component: {fileID: 7947935438987891317} |
||||||
|
- component: {fileID: 7947935438987891316} |
||||||
|
- component: {fileID: 5272754659973803181} |
||||||
|
m_Layer: 7 |
||||||
|
m_Name: Modification |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &7947935438987891323 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7947935438987891319} |
||||||
|
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_ConstrainProportionsScale: 0 |
||||||
|
m_Children: [] |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &7947935438987891317 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7947935438987891319} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 1b95f7504787409bb84f5fc3b5e3865f, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
--- !u!114 &7947935438987891316 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7947935438987891319} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
GlobalObjectIdHash: 951099334 |
||||||
|
AlwaysReplicateAsRoot: 0 |
||||||
|
DontDestroyWithOwner: 0 |
||||||
|
AutoObjectParentSync: 1 |
||||||
|
--- !u!61 &5272754659973803181 |
||||||
|
BoxCollider2D: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 7947935438987891319} |
||||||
|
m_Enabled: 1 |
||||||
|
m_Density: 1 |
||||||
|
m_Material: {fileID: 0} |
||||||
|
m_IsTrigger: 1 |
||||||
|
m_UsedByEffector: 0 |
||||||
|
m_UsedByComposite: 0 |
||||||
|
m_Offset: {x: 0, y: 0} |
||||||
|
m_SpriteTilingProperty: |
||||||
|
border: {x: 0, y: 0, z: 0, w: 0} |
||||||
|
pivot: {x: 0.5, y: 0.5} |
||||||
|
oldSize: {x: 2, y: 2} |
||||||
|
newSize: {x: 2, y: 2} |
||||||
|
adaptiveTilingThreshold: 0.5 |
||||||
|
drawMode: 0 |
||||||
|
adaptiveTiling: 0 |
||||||
|
m_AutoTiling: 0 |
||||||
|
serializedVersion: 2 |
||||||
|
m_Size: {x: 2, y: 2} |
||||||
|
m_EdgeRadius: 0 |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 8db15b80a161e4faf9681d9e29b563ce |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,19 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!114 &11400000 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 0} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 4453d1448ec14f5fa81aae3c54f78010, type: 3} |
||||||
|
m_Name: SpeedBuff |
||||||
|
m_EditorClassIdentifier: |
||||||
|
type: 1 |
||||||
|
effect: 0 |
||||||
|
pickupDuration: 10 |
||||||
|
activeDuration: 10 |
||||||
|
image: {fileID: 21300000, guid: c9633c24081701c6c9ce9884d6524530, type: 3} |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: e24dcbc74c0ebdd94acb60adba3415c7 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,19 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!114 &11400000 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 0} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: 4453d1448ec14f5fa81aae3c54f78010, type: 3} |
||||||
|
m_Name: SpeedNerf |
||||||
|
m_EditorClassIdentifier: |
||||||
|
type: 0 |
||||||
|
effect: 0 |
||||||
|
pickupDuration: 10 |
||||||
|
activeDuration: 10 |
||||||
|
image: {fileID: 21300000, guid: 24ca60336f20aee73b5b211b6f6e1a44, type: 3} |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: ae5a83823d492d27bbb84006f6e0e8c2 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 11400000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,15 @@ |
|||||||
|
using UnityEngine; |
||||||
|
using UnityEngine.Serialization; |
||||||
|
|
||||||
|
namespace Game { |
||||||
|
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/ModificationProperties", order = 0)] |
||||||
|
public class ModificationProperties : ScriptableObject { |
||||||
|
public ModType type; |
||||||
|
public ModEffect effect; |
||||||
|
public float pickupDuration; |
||||||
|
public float activeDuration; |
||||||
|
public Sprite image; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
@ -0,0 +1,3 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 4453d1448ec14f5fa81aae3c54f78010 |
||||||
|
timeCreated: 1681245383 |
@ -1,11 +1,9 @@ |
|||||||
<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: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"> |
||||||
<Style src="project://database/Assets/UI%20Toolkit/styles.uss?fileID=7433441132597879392&guid=a6abab2f6d20ba823bad41d2081810e9&type=3#styles" /> |
<Style src="project://database/Assets/UI%20Toolkit/styles.uss?fileID=7433441132597879392&guid=a6abab2f6d20ba823bad41d2081810e9&type=3#styles" /> |
||||||
<Style src="project://database/Assets/UI%20Toolkit/player_panel.uss?fileID=7433441132597879392&guid=102b2cb1b84d8883abde9356b92d807e&type=3#player_panel" /> |
<Style src="project://database/Assets/UI%20Toolkit/player_panel.uss?fileID=7433441132597879392&guid=102b2cb1b84d8883abde9356b92d807e&type=3#player_panel" /> |
||||||
<ui:VisualElement style="flex-direction: row; align-items: stretch; justify-content: space-between; height: 100%; width: 100%;"> |
<ui:Button text="Right" display-tooltip-when-elided="true" name="btn_right" /> |
||||||
<ui:Button text="Left" display-tooltip-when-elided="true" name="btn_left" /> |
|
||||||
<ui:VisualElement class="mods_list" /> |
<ui:VisualElement class="mods_list" /> |
||||||
<ui:Label text="0" display-tooltip-when-elided="true" name="score" /> |
<ui:Label text="0" display-tooltip-when-elided="true" name="score" /> |
||||||
<ui:VisualElement class="mods_list" /> |
<ui:VisualElement class="mods_list" /> |
||||||
<ui:Button text="Right" display-tooltip-when-elided="true" name="btn_right" /> |
<ui:Button text="Left" display-tooltip-when-elided="true" name="btn_left" /> |
||||||
</ui:VisualElement> |
|
||||||
</ui:UXML> |
</ui:UXML> |
||||||
|
@ -1,4 +1,8 @@ |
|||||||
.player_panel { |
.player_panel { |
||||||
width: 100%; |
width: 100%; |
||||||
position: absolute; |
position: absolute; |
||||||
|
flex-direction: row; |
||||||
|
align-items: stretch; |
||||||
|
justify-content: space-between; |
||||||
} |
} |
||||||
|
|
||||||
|
Loading…
Reference in new issue