diff --git a/Assets/Defaults/InputSystem_Actions.cs b/Assets/Defaults/InputSystem_Actions.cs
index a505f00..fcd2bd9 100644
--- a/Assets/Defaults/InputSystem_Actions.cs
+++ b/Assets/Defaults/InputSystem_Actions.cs
@@ -1,3 +1,11 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine.InputSystem;
+using UnityEngine.InputSystem.Utilities;
+
+namespace GDGVITVellore.Modukit
+{
//------------------------------------------------------------------------------
//
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
@@ -9,12 +17,6 @@
//
//------------------------------------------------------------------------------
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine.InputSystem;
-using UnityEngine.InputSystem.Utilities;
-
///
/// Provides programmatic access to , , and instances defined in asset "Assets/Defaults/InputSystem_Actions.inputactions".
///
@@ -1835,3 +1837,4 @@ public interface IUIActions
void OnTrackedDeviceOrientation(InputAction.CallbackContext context);
}
}
+}
\ No newline at end of file
diff --git a/Assets/Defaults/Scenes/SampleScene.unity b/Assets/Defaults/Scenes/SampleScene.unity
index ac445a1..96b3c8d 100644
--- a/Assets/Defaults/Scenes/SampleScene.unity
+++ b/Assets/Defaults/Scenes/SampleScene.unity
@@ -119,6 +119,674 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
+--- !u!1 &49379392
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 49379393}
+ - component: {fileID: 49379395}
+ - component: {fileID: 49379394}
+ m_Layer: 5
+ m_Name: Damage
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &49379393
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 49379392}
+ 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: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 0.5}
+ m_AnchorMax: {x: 1, y: 0.5}
+ m_AnchoredPosition: {x: -184, y: 11}
+ m_SizeDelta: {x: 200, y: 50}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &49379394
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 49379392}
+ 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: Damage:000
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4278190080
+ m_fontColor: {r: 0, g: 0, b: 0, 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: 26.8
+ m_fontSizeBase: 26.8
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &49379395
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 49379392}
+ m_CullTransparentMesh: 1
+--- !u!1 &164598041
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 164598042}
+ - component: {fileID: 164598044}
+ - component: {fileID: 164598043}
+ m_Layer: 5
+ m_Name: Number
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &164598042
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 164598041}
+ 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: 1207088765}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 1}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 42, y: -21.36081}
+ m_SizeDelta: {x: 102.1438, y: 42.7216}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &164598043
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 164598041}
+ 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: 000
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4278190080
+ m_fontColor: {r: 0, g: 0, b: 0, 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: 33.6
+ m_fontSizeBase: 33.6
+ m_fontWeight: 400
+ m_enableAutoSizing: 0
+ m_fontSizeMin: 18
+ m_fontSizeMax: 72
+ m_fontStyle: 16
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: -2.4262085, 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!222 &164598044
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 164598041}
+ m_CullTransparentMesh: 1
+--- !u!1 &218470112
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 218470113}
+ - component: {fileID: 218470114}
+ - component: {fileID: 218470117}
+ m_Layer: 0
+ m_Name: GameManager
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &218470113
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 218470112}
+ serializedVersion: 2
+ 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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &218470114
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 218470112}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 83baa3cfd6a1160409d5c51609abb4b0, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ stats: {fileID: 0}
+ coins: 400
+ item: {fileID: 0}
+ upgrade:
+ data: {fileID: 0}
+ isPurchased: 0
+ itemQuantity: 1
+ Name:
+ coinsText: {fileID: 164598043}
+ nameText: {fileID: 1039335970}
+ upgradeText: {fileID: 49379394}
+ shopItemText: {fileID: 1835235006}
+ stat: {fileID: 0}
+--- !u!114 &218470117
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 218470112}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: efbd07661ec170742a3a7b70aea55fa5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ objectsToSave: []
+ autoLoadOnStart: 1
+ useEncryption: 1
+--- !u!1 &258053467
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 258053468}
+ - component: {fileID: 258053471}
+ - component: {fileID: 258053470}
+ - component: {fileID: 258053469}
+ m_Layer: 5
+ m_Name: Buy Upgrade
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &258053468
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 258053467}
+ 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:
+ - {fileID: 695370221}
+ m_Father: {fileID: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.5}
+ m_AnchorMax: {x: 0, y: 0.5}
+ m_AnchoredPosition: {x: 207, y: 12}
+ m_SizeDelta: {x: 189.9599, y: 71.631}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &258053469
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 258053467}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ 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: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 258053470}
+ m_OnClick:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 218470114}
+ m_TargetAssemblyTypeName: Demo, Assembly-CSharp
+ m_MethodName: BuyUpgrade
+ 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 &258053470
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 258053467}
+ 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: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ 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!222 &258053471
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 258053467}
+ m_CullTransparentMesh: 1
+--- !u!1 &661503700
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 661503701}
+ - component: {fileID: 661503702}
+ m_Layer: 5
+ m_Name: Text Area
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &661503701
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 661503700}
+ 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:
+ - {fileID: 1907467870}
+ - {fileID: 1641337011}
+ m_Father: {fileID: 913300717}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: -0.5}
+ m_SizeDelta: {x: -20, y: -13}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &661503702
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 661503700}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Padding: {x: -8, y: -5, z: -8, w: -5}
+ m_Softness: {x: 0, y: 0}
+--- !u!1 &695370220
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 695370221}
+ - component: {fileID: 695370223}
+ - component: {fileID: 695370222}
+ 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 &695370221
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 695370220}
+ 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: 258053468}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &695370222
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 695370220}
+ 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: 'GET UPGRADE:
+
+ Increase Damage'
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 20
+ m_fontSizeBase: 20
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &695370223
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 695370220}
+ m_CullTransparentMesh: 1
--- !u!1 &705507993
GameObject:
m_ObjectHideFlags: 0
@@ -216,7 +884,7 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
---- !u!1 &963194225
+--- !u!1 &913300716
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -224,35 +892,225 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- - component: {fileID: 963194228}
- - component: {fileID: 963194227}
- - component: {fileID: 963194226}
- m_Layer: 0
- m_Name: Main Camera
- m_TagString: MainCamera
+ - component: {fileID: 913300717}
+ - component: {fileID: 913300720}
+ - component: {fileID: 913300719}
+ - component: {fileID: 913300718}
+ m_Layer: 5
+ m_Name: Enter name
+ m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
---- !u!81 &963194226
-AudioListener:
+--- !u!224 &913300717
+RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 963194225}
+ m_GameObject: {fileID: 913300716}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1.3064, y: 1.3064, z: 1.3064}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 661503701}
+ m_Father: {fileID: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0.5, y: 1}
+ m_AnchorMax: {x: 0.5, y: 1}
+ m_AnchoredPosition: {x: -152, y: -101}
+ m_SizeDelta: {x: 160, y: 30}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &913300718
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 913300716}
m_Enabled: 1
---- !u!20 &963194227
-Camera:
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ 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: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 913300719}
+ m_TextViewport: {fileID: 661503701}
+ m_TextComponent: {fileID: 1641337012}
+ m_Placeholder: {fileID: 1907467872}
+ m_VerticalScrollbar: {fileID: 0}
+ m_VerticalScrollbarEventHandler: {fileID: 0}
+ m_LayoutGroup: {fileID: 0}
+ m_ScrollSensitivity: 1
+ m_ContentType: 0
+ m_InputType: 0
+ m_AsteriskChar: 42
+ m_KeyboardType: 0
+ m_LineType: 0
+ m_HideMobileInput: 0
+ m_HideSoftKeyboard: 0
+ m_CharacterValidation: 0
+ m_RegexValue:
+ m_GlobalPointSize: 14
+ m_CharacterLimit: 0
+ m_OnEndEdit:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 218470114}
+ m_TargetAssemblyTypeName: Demo, Assembly-CSharp
+ m_MethodName: SetName
+ m_Mode: 0
+ 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
+ m_OnSubmit:
+ m_PersistentCalls:
+ m_Calls: []
+ m_OnSelect:
+ m_PersistentCalls:
+ m_Calls: []
+ m_OnDeselect:
+ m_PersistentCalls:
+ m_Calls: []
+ m_OnTextSelection:
+ m_PersistentCalls:
+ m_Calls: []
+ m_OnEndTextSelection:
+ m_PersistentCalls:
+ m_Calls: []
+ m_OnValueChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_OnTouchScreenKeyboardStatusChanged:
+ m_PersistentCalls:
+ m_Calls: []
+ m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
+ m_CustomCaretColor: 0
+ m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
+ m_Text:
+ m_CaretBlinkRate: 0.85
+ m_CaretWidth: 1
+ m_ReadOnly: 0
+ m_RichText: 1
+ m_GlobalFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_OnFocusSelectAll: 1
+ m_ResetOnDeActivation: 1
+ m_KeepTextSelectionVisible: 0
+ m_RestoreOriginalTextOnEscape: 1
+ m_isRichTextEditingAllowed: 0
+ m_LineLimit: 0
+ isAlert: 0
+ m_InputValidator: {fileID: 0}
+ m_ShouldActivateOnSelect: 1
+--- !u!114 &913300719
+MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 963194225}
+ m_GameObject: {fileID: 913300716}
m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 1
- m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
+ 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: 10911, guid: 0000000000000000f000000000000000, type: 0}
+ 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!222 &913300720
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 913300716}
+ m_CullTransparentMesh: 1
+--- !u!1 &963194225
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 963194228}
+ - component: {fileID: 963194227}
+ - component: {fileID: 963194226}
+ m_Layer: 0
+ m_Name: Main Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!81 &963194226
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 963194225}
+ m_Enabled: 1
+--- !u!20 &963194227
+Camera:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 963194225}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 1
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
@@ -308,6 +1166,623 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1039335968
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1039335969}
+ - component: {fileID: 1039335971}
+ - component: {fileID: 1039335970}
+ m_Layer: 5
+ m_Name: Name
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1039335969
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1039335968}
+ 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: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 0.5}
+ m_AnchorMax: {x: 1, y: 0.5}
+ m_AnchoredPosition: {x: -184, y: 59}
+ m_SizeDelta: {x: 200, y: 50}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1039335970
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1039335968}
+ 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: Name:Null
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4278190080
+ m_fontColor: {r: 0, g: 0, b: 0, 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: 26.8
+ m_fontSizeBase: 26.8
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &1039335971
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1039335968}
+ m_CullTransparentMesh: 1
+--- !u!1 &1207088764
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1207088765}
+ - component: {fileID: 1207088767}
+ - component: {fileID: 1207088766}
+ m_Layer: 5
+ m_Name: Coins
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1207088765
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1207088764}
+ 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:
+ - {fileID: 164598042}
+ m_Father: {fileID: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 1}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: -180, y: -48}
+ m_SizeDelta: {x: 102.1438, y: 42.7216}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1207088766
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1207088764}
+ 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: 'COINS:'
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4278190080
+ m_fontColor: {r: 0, g: 0, b: 0, 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: 27.55
+ m_fontSizeBase: 33.4
+ m_fontWeight: 400
+ m_enableAutoSizing: 1
+ m_fontSizeMin: 18
+ m_fontSizeMax: 72
+ m_fontStyle: 17
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ m_useMaxVisibleDescender: 1
+ m_pageToDisplay: 1
+ m_margin: {x: -2.4262085, 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!222 &1207088767
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1207088764}
+ m_CullTransparentMesh: 1
+--- !u!1 &1258179107
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1258179108}
+ - component: {fileID: 1258179111}
+ - component: {fileID: 1258179110}
+ - component: {fileID: 1258179109}
+ m_Layer: 5
+ m_Name: Buy Shop item
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1258179108
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1258179107}
+ 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:
+ - {fileID: 2130697616}
+ m_Father: {fileID: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0.5}
+ m_AnchorMax: {x: 0, y: 0.5}
+ m_AnchoredPosition: {x: 207, y: -70.41561}
+ m_SizeDelta: {x: 189.9599, y: 71.631}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1258179109
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1258179107}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_Navigation:
+ m_Mode: 3
+ m_WrapAround: 0
+ m_SelectOnUp: {fileID: 0}
+ m_SelectOnDown: {fileID: 0}
+ m_SelectOnLeft: {fileID: 0}
+ m_SelectOnRight: {fileID: 0}
+ m_Transition: 1
+ 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: 0}
+ m_PressedSprite: {fileID: 0}
+ m_SelectedSprite: {fileID: 0}
+ m_DisabledSprite: {fileID: 0}
+ m_AnimationTriggers:
+ m_NormalTrigger: Normal
+ m_HighlightedTrigger: Highlighted
+ m_PressedTrigger: Pressed
+ m_SelectedTrigger: Selected
+ m_DisabledTrigger: Disabled
+ m_Interactable: 1
+ m_TargetGraphic: {fileID: 1258179110}
+ m_OnClick:
+ m_PersistentCalls:
+ m_Calls:
+ - m_Target: {fileID: 218470114}
+ m_TargetAssemblyTypeName: Demo, Assembly-CSharp
+ m_MethodName: BuyItem
+ 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 &1258179110
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1258179107}
+ 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: 10905, guid: 0000000000000000f000000000000000, type: 0}
+ 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!222 &1258179111
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1258179107}
+ m_CullTransparentMesh: 1
+--- !u!1 &1556780181
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1556780182}
+ - component: {fileID: 1556780184}
+ - component: {fileID: 1556780183}
+ m_Layer: 5
+ m_Name: Back
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1556780182
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1556780181}
+ 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: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 199.0966, y: 150.1956}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1556780183
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1556780181}
+ 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: 0.70980394}
+ 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: 10907, guid: 0000000000000000f000000000000000, type: 0}
+ 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!222 &1556780184
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1556780181}
+ m_CullTransparentMesh: 1
+--- !u!1 &1641337010
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1641337011}
+ - component: {fileID: 1641337013}
+ - component: {fileID: 1641337012}
+ m_Layer: 5
+ m_Name: Text
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1641337011
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1641337010}
+ 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: 661503701}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1641337012
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1641337010}
+ 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: "\u200B"
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 14
+ m_fontSizeBase: 14
+ m_fontWeight: 400
+ m_enableAutoSizing: 0
+ m_fontSizeMin: 18
+ m_fontSizeMax: 72
+ m_fontStyle: 0
+ m_HorizontalAlignment: 1
+ m_VerticalAlignment: 256
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_TextWrappingMode: 3
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 1
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &1641337013
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1641337010}
+ m_CullTransparentMesh: 1
--- !u!1 &1642966618
GameObject:
m_ObjectHideFlags: 0
@@ -387,6 +1862,548 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1835235004
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1835235005}
+ - component: {fileID: 1835235007}
+ - component: {fileID: 1835235006}
+ m_Layer: 5
+ m_Name: Item Owned
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1835235005
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1835235004}
+ 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: 1881920463}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 1, y: 0.5}
+ m_AnchorMax: {x: 1, y: 0.5}
+ m_AnchoredPosition: {x: -184, y: -38}
+ m_SizeDelta: {x: 257.1925, y: 50}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1835235006
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1835235004}
+ 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: 'Item Owned: Null'
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4278190080
+ m_fontColor: {r: 0, g: 0, b: 0, 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: 26.8
+ m_fontSizeBase: 26.8
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &1835235007
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1835235004}
+ m_CullTransparentMesh: 1
+--- !u!1 &1881920459
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1881920463}
+ - component: {fileID: 1881920462}
+ - component: {fileID: 1881920461}
+ - component: {fileID: 1881920460}
+ m_Layer: 5
+ m_Name: Canvas
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1881920460
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1881920459}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreReversedGraphics: 1
+ m_BlockingObjects: 0
+ m_BlockingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+--- !u!114 &1881920461
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1881920459}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_UiScaleMode: 1
+ m_ReferencePixelsPerUnit: 100
+ m_ScaleFactor: 1
+ m_ReferenceResolution: {x: 800, y: 600}
+ m_ScreenMatchMode: 0
+ m_MatchWidthOrHeight: 0
+ m_PhysicalUnit: 3
+ m_FallbackScreenDPI: 96
+ m_DefaultSpriteDPI: 96
+ m_DynamicPixelsPerUnit: 1
+ m_PresetInfoIsWorld: 0
+--- !u!223 &1881920462
+Canvas:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1881920459}
+ m_Enabled: 1
+ serializedVersion: 3
+ m_RenderMode: 0
+ m_Camera: {fileID: 0}
+ m_PlaneDistance: 100
+ m_PixelPerfect: 0
+ m_ReceivesEvents: 1
+ m_OverrideSorting: 0
+ m_OverridePixelPerfect: 0
+ m_SortingBucketNormalizedSize: 0
+ m_VertexColorAlwaysGammaSpace: 0
+ m_AdditionalShaderChannelsFlag: 25
+ m_UpdateRectTransformForStandalone: 0
+ m_SortingLayerID: 0
+ m_SortingOrder: 0
+ m_TargetDisplay: 0
+--- !u!224 &1881920463
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1881920459}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 0, y: 0, z: 0}
+ m_ConstrainProportionsScale: 0
+ m_Children:
+ - {fileID: 1556780182}
+ - {fileID: 913300717}
+ - {fileID: 258053468}
+ - {fileID: 1258179108}
+ - {fileID: 1207088765}
+ - {fileID: 49379393}
+ - {fileID: 1039335969}
+ - {fileID: 1835235005}
+ m_Father: {fileID: 0}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 0, y: 0}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0, y: 0}
+--- !u!1 &1907467869
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1907467870}
+ - component: {fileID: 1907467873}
+ - component: {fileID: 1907467872}
+ - component: {fileID: 1907467871}
+ m_Layer: 5
+ m_Name: Placeholder
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!224 &1907467870
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1907467869}
+ 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: 661503701}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &1907467871
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1907467869}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_IgnoreLayout: 1
+ m_MinWidth: -1
+ m_MinHeight: -1
+ m_PreferredWidth: -1
+ m_PreferredHeight: -1
+ m_FlexibleWidth: -1
+ m_FlexibleHeight: -1
+ m_LayoutPriority: 1
+--- !u!114 &1907467872
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1907467869}
+ 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: Enter your name...
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_fontSharedMaterials: []
+ m_fontMaterial: {fileID: 0}
+ m_fontMaterials: []
+ m_fontColor32:
+ serializedVersion: 2
+ rgba: 4278190080
+ m_fontColor: {r: 0, g: 0, b: 0, 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: 14
+ m_fontSizeBase: 14
+ m_fontWeight: 400
+ m_enableAutoSizing: 0
+ m_fontSizeMin: 18
+ m_fontSizeMax: 72
+ m_fontStyle: 2
+ m_HorizontalAlignment: 1
+ m_VerticalAlignment: 256
+ m_textAlignment: 65535
+ m_characterSpacing: 0
+ m_wordSpacing: 0
+ m_lineSpacing: 0
+ m_lineSpacingMax: 0
+ m_paragraphSpacing: 0
+ m_charWidthMaxAdj: 0
+ m_TextWrappingMode: 0
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 1
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &1907467873
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1907467869}
+ m_CullTransparentMesh: 1
+--- !u!1 &2130697615
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 2130697616}
+ - component: {fileID: 2130697618}
+ - component: {fileID: 2130697617}
+ 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 &2130697616
+RectTransform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2130697615}
+ 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: 1258179108}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+ m_AnchorMin: {x: 0, y: 0}
+ m_AnchorMax: {x: 1, y: 1}
+ m_AnchoredPosition: {x: 0, y: 0}
+ m_SizeDelta: {x: 0, y: 0}
+ m_Pivot: {x: 0.5, y: 0.5}
+--- !u!114 &2130697617
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2130697615}
+ 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: 'BUY ITEM:
+
+ Glasses
+
+'
+ m_isRightToLeft: 0
+ m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
+ m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, 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: 20
+ m_fontSizeBase: 20
+ 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_TextWrappingMode: 1
+ m_wordWrappingRatios: 0.4
+ m_overflowMode: 0
+ m_linkedTextComponent: {fileID: 0}
+ parentLinkedComponent: {fileID: 0}
+ m_enableKerning: 0
+ m_ActiveFontFeatures: 6e72656b
+ m_enableExtraPadding: 0
+ checkPaddingRequired: 0
+ m_isRichText: 1
+ m_EmojiFallbackSupport: 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: 0
+ 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!222 &2130697618
+CanvasRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2130697615}
+ m_CullTransparentMesh: 1
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
@@ -394,3 +2411,5 @@ SceneRoots:
- {fileID: 963194228}
- {fileID: 705507995}
- {fileID: 1642966621}
+ - {fileID: 1881920463}
+ - {fileID: 218470113}
diff --git a/Assets/Demo.meta b/Assets/Demo.meta
new file mode 100644
index 0000000..78012e5
--- /dev/null
+++ b/Assets/Demo.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 386c5797ac3f25b4787a45158aa1deb7
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Demo/IncreaseDamage.cs b/Assets/Demo/IncreaseDamage.cs
new file mode 100644
index 0000000..698716c
--- /dev/null
+++ b/Assets/Demo/IncreaseDamage.cs
@@ -0,0 +1,23 @@
+using UnityEngine;
+
+namespace GDGVITVellore.Modukit
+{
+public class IncreaseDamage : ItemEffect
+{
+ public StatValue stat;
+ public Stats[] statsToAffect; // Array of stats that will be affected by this effect
+
+ public override void ApplyEffect(object item)
+ {
+ foreach (Stats Stat in statsToAffect)
+ {
+ Stat.unlockUpgrade(new StatValue(StatTypes.damage, stat.value)); // Ensure the damage stat is unlocked
+ }
+ }
+
+ public override void RemoveEffect(object obj)
+ {
+ throw new System.NotImplementedException();
+ }
+}
+}
\ No newline at end of file
diff --git a/Assets/Demo/IncreaseDamage.cs.meta b/Assets/Demo/IncreaseDamage.cs.meta
new file mode 100644
index 0000000..22bcf0e
--- /dev/null
+++ b/Assets/Demo/IncreaseDamage.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: dfe9bf3b86ab2454085d54826eb5840c
\ No newline at end of file
diff --git a/Assets/Demo/NamespaceAdder.cs b/Assets/Demo/NamespaceAdder.cs
new file mode 100644
index 0000000..79016e5
--- /dev/null
+++ b/Assets/Demo/NamespaceAdder.cs
@@ -0,0 +1,81 @@
+using System.IO;
+using System.Text.RegularExpressions;
+using UnityEditor;
+using UnityEngine;
+
+public class NamespaceAdder : EditorWindow
+{
+ private string namespaceName = "GDGVITVellore.Modukit";
+
+ [MenuItem("Tools/Add Namespace to Scripts")]
+ public static void ShowWindow()
+ {
+ GetWindow("Add Namespace");
+ }
+
+ void OnGUI()
+ {
+ GUILayout.Label("Add Namespace to All Scripts", EditorStyles.boldLabel);
+ namespaceName = EditorGUILayout.TextField("Namespace:", namespaceName);
+
+ if (GUILayout.Button("Add Namespace to All C# Files"))
+ {
+ AddNamespaceToAllScripts();
+ }
+ }
+
+ public void AddNamespaceToAllScripts()
+ {
+ if (string.IsNullOrEmpty(namespaceName))
+ {
+ EditorUtility.DisplayDialog("Error", "Please enter a namespace", "OK");
+ return;
+ }
+
+ int modifiedCount = 0;
+ string[] allScripts = Directory.GetFiles(Application.dataPath, "*.cs", SearchOption.AllDirectories);
+
+ foreach (string filePath in allScripts)
+ {
+ // Skip if already in a namespace
+ string content = File.ReadAllText(filePath);
+ if (content.Contains($"namespace {namespaceName}") ||
+ Regex.IsMatch(content, @"namespace\s+\w+(\.\w+)*\s*{"))
+ {
+ continue;
+ }
+
+ // Add namespace
+ string modifiedContent = AddNamespaceToFile(content, namespaceName);
+ File.WriteAllText(filePath, modifiedContent);
+ modifiedCount++;
+ }
+
+ AssetDatabase.Refresh();
+ EditorUtility.DisplayDialog("Complete", $"Added namespace to {modifiedCount} scripts", "OK");
+ }
+
+ private string AddNamespaceToFile(string content, string namespaceName)
+ {
+ // Find all using statements
+ var usingMatches = Regex.Matches(content, @"^using\s+[^;]+;", RegexOptions.Multiline);
+ string usingSection = "";
+
+ foreach (Match match in usingMatches)
+ {
+ usingSection += match.Value + "\n";
+ }
+
+ // Remove the using statements from original content
+ string contentWithoutUsings = Regex.Replace(content, @"^using\s+[^;]+;\s*", "", RegexOptions.Multiline);
+
+ // Construct new content
+ string newContent = usingSection.TrimEnd() + "\n\n" +
+ $"namespace {namespaceName}\n" +
+ "{\n" +
+ contentWithoutUsings.Trim() + "\n" +
+ "}";
+
+ return newContent;
+ }
+}
\ No newline at end of file
diff --git a/Assets/Demo/NamespaceAdder.cs.meta b/Assets/Demo/NamespaceAdder.cs.meta
new file mode 100644
index 0000000..76d3d8a
--- /dev/null
+++ b/Assets/Demo/NamespaceAdder.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 24868db88008bfe44b00941a2bc74b7a
\ No newline at end of file
diff --git a/Assets/Demo/ShopItem.asset b/Assets/Demo/ShopItem.asset
new file mode 100644
index 0000000..7aa29fc
--- /dev/null
+++ b/Assets/Demo/ShopItem.asset
@@ -0,0 +1,23 @@
+%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: 7aa45f6493abfda43a73ff50e40fbba7, type: 3}
+ m_Name: ShopItem
+ m_EditorClassIdentifier:
+ itemImage: {fileID: 0}
+ itemImageTint: {r: 1, g: 1, b: 1, a: 1}
+ itemName: Hat
+ itemDescription:
+ parameters:
+ itemPrice: 100
+ itemQuantity: 1
+ isPurchased: 0
+ effects: []
diff --git a/Assets/Demo/ShopItem.asset.meta b/Assets/Demo/ShopItem.asset.meta
new file mode 100644
index 0000000..4ba4382
--- /dev/null
+++ b/Assets/Demo/ShopItem.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: b0cdd94809bf02141a7cc557659e3d6e
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 11400000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Demo/UpgradeItem.asset b/Assets/Demo/UpgradeItem.asset
new file mode 100644
index 0000000..f2178a1
--- /dev/null
+++ b/Assets/Demo/UpgradeItem.asset
@@ -0,0 +1,20 @@
+%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: a57540b90aabaf54fbe184f5a90ff6ae, type: 3}
+ m_Name: UpgradeItem
+ m_EditorClassIdentifier:
+ itemImage: {fileID: 0}
+ itemImageTint: {r: 1, g: 1, b: 1, a: 1}
+ itemName: Increase Damage
+ itemPrice: 0
+ itemDescription:
+ effects: []
diff --git a/Assets/Demo/UpgradeItem.asset.meta b/Assets/Demo/UpgradeItem.asset.meta
new file mode 100644
index 0000000..0214cd6
--- /dev/null
+++ b/Assets/Demo/UpgradeItem.asset.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 1d053f8b15472db4c83916393f039889
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 11400000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/GDSC VIT Vellore.meta b/Assets/GDSC VIT Vellore.meta
new file mode 100644
index 0000000..8ec57fd
--- /dev/null
+++ b/Assets/GDSC VIT Vellore.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 4524649cd480e844195cade775c88842
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Basic Projectile Gun System.meta b/Assets/GDSC VIT Vellore/Basic Projectile Gun System.meta
similarity index 100%
rename from Assets/Basic Projectile Gun System.meta
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System.meta
diff --git a/Assets/Basic Projectile Gun System/GunIScriptableObject.cs b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunIScriptableObject.cs
similarity index 93%
rename from Assets/Basic Projectile Gun System/GunIScriptableObject.cs
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunIScriptableObject.cs
index 9fcfc7a..c54bd93 100644
--- a/Assets/Basic Projectile Gun System/GunIScriptableObject.cs
+++ b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunIScriptableObject.cs
@@ -4,6 +4,8 @@
using System.Linq;
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
[CreateAssetMenu(menuName = "Gun Object", order = 0)]
public class GunIScriptableObject : Stats
{
@@ -23,4 +25,5 @@ public class GunIScriptableObject : Stats
public bool infiniteAmmo = false;
+}
}
\ No newline at end of file
diff --git a/Assets/Basic Projectile Gun System/GunIScriptableObject.cs.meta b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunIScriptableObject.cs.meta
similarity index 100%
rename from Assets/Basic Projectile Gun System/GunIScriptableObject.cs.meta
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunIScriptableObject.cs.meta
diff --git a/Assets/Basic Projectile Gun System/GunManager.cs b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunManager.cs
similarity index 99%
rename from Assets/Basic Projectile Gun System/GunManager.cs
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunManager.cs
index 93512fd..4b28d7d 100644
--- a/Assets/Basic Projectile Gun System/GunManager.cs
+++ b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunManager.cs
@@ -4,6 +4,8 @@
using System.Linq;
using UnityEngine.InputSystem;
+namespace GDGVITVellore.Modukit
+{
public class GunManager : MonoBehaviour
{
ObjectPooler pool;
@@ -133,3 +135,4 @@ IEnumerator reloading()
currAmmo = activeGun.ammo;
}
}
+}
\ No newline at end of file
diff --git a/Assets/Basic Projectile Gun System/GunManager.cs.meta b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunManager.cs.meta
similarity index 100%
rename from Assets/Basic Projectile Gun System/GunManager.cs.meta
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System/GunManager.cs.meta
diff --git a/Assets/Basic Projectile Gun System/bullet.cs b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/bullet.cs
similarity index 92%
rename from Assets/Basic Projectile Gun System/bullet.cs
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System/bullet.cs
index 78e53c1..4454d25 100644
--- a/Assets/Basic Projectile Gun System/bullet.cs
+++ b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/bullet.cs
@@ -2,6 +2,8 @@
using System.Collections.Generic;
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
[RequireComponent(typeof(Rigidbody))]
public class bullet : MonoBehaviour
{
@@ -12,3 +14,4 @@ public IEnumerator Initialise(float range)
if (ObjectPooler.instance != null) ObjectPooler.instance.ReturnObject(gameObject, 1);
}
}
+}
\ No newline at end of file
diff --git a/Assets/Basic Projectile Gun System/bullet.cs.meta b/Assets/GDSC VIT Vellore/Basic Projectile Gun System/bullet.cs.meta
similarity index 100%
rename from Assets/Basic Projectile Gun System/bullet.cs.meta
rename to Assets/GDSC VIT Vellore/Basic Projectile Gun System/bullet.cs.meta
diff --git a/Assets/GDSC VIT Vellore/Documentation.pdf b/Assets/GDSC VIT Vellore/Documentation.pdf
new file mode 100644
index 0000000..41f7ba8
Binary files /dev/null and b/Assets/GDSC VIT Vellore/Documentation.pdf differ
diff --git a/Assets/GDSC VIT Vellore/Documentation.pdf.meta b/Assets/GDSC VIT Vellore/Documentation.pdf.meta
new file mode 100644
index 0000000..9b92ea5
--- /dev/null
+++ b/Assets/GDSC VIT Vellore/Documentation.pdf.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: aa276e791b71df54d9aa108510799039
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FPSCounter.cs b/Assets/GDSC VIT Vellore/FPSCounter.cs
similarity index 95%
rename from Assets/FPSCounter.cs
rename to Assets/GDSC VIT Vellore/FPSCounter.cs
index d5ba4b9..0c6e24f 100644
--- a/Assets/FPSCounter.cs
+++ b/Assets/GDSC VIT Vellore/FPSCounter.cs
@@ -3,6 +3,8 @@
using UnityEngine;
using TMPro;
+namespace GDGVITVellore.Modukit
+{
public class FPSCounter : MonoBehaviour
{
[SerializeField]
@@ -33,3 +35,4 @@ private float CalculateFps()
return frameDeltaTimeArray.Length / total;
}
}
+}
\ No newline at end of file
diff --git a/Assets/FPSCounter.cs.meta b/Assets/GDSC VIT Vellore/FPSCounter.cs.meta
similarity index 100%
rename from Assets/FPSCounter.cs.meta
rename to Assets/GDSC VIT Vellore/FPSCounter.cs.meta
diff --git a/Assets/Inventory.meta b/Assets/GDSC VIT Vellore/Inventory.meta
similarity index 100%
rename from Assets/Inventory.meta
rename to Assets/GDSC VIT Vellore/Inventory.meta
diff --git a/Assets/GDSC VIT Vellore/Inventory/IInventoryItem.cs b/Assets/GDSC VIT Vellore/Inventory/IInventoryItem.cs
new file mode 100644
index 0000000..a07a1de
--- /dev/null
+++ b/Assets/GDSC VIT Vellore/Inventory/IInventoryItem.cs
@@ -0,0 +1,15 @@
+using System;
+using UnityEngine;
+
+namespace GDGVITVellore.Modukit
+{
+ public interface IInventoryItem
+ {
+ public string displayName { get; }
+ public Sprite image { get; }
+ public int quantity { get; }
+
+ public abstract void EquipItem();
+ public abstract void AddItem();
+ }
+}
\ No newline at end of file
diff --git a/Assets/Inventory/IInventoryItem.cs.meta b/Assets/GDSC VIT Vellore/Inventory/IInventoryItem.cs.meta
similarity index 100%
rename from Assets/Inventory/IInventoryItem.cs.meta
rename to Assets/GDSC VIT Vellore/Inventory/IInventoryItem.cs.meta
diff --git a/Assets/Inventory/Inventory Item Button.prefab b/Assets/GDSC VIT Vellore/Inventory/Inventory Item Button.prefab
similarity index 100%
rename from Assets/Inventory/Inventory Item Button.prefab
rename to Assets/GDSC VIT Vellore/Inventory/Inventory Item Button.prefab
diff --git a/Assets/Inventory/Inventory Item Button.prefab.meta b/Assets/GDSC VIT Vellore/Inventory/Inventory Item Button.prefab.meta
similarity index 100%
rename from Assets/Inventory/Inventory Item Button.prefab.meta
rename to Assets/GDSC VIT Vellore/Inventory/Inventory Item Button.prefab.meta
diff --git a/Assets/Inventory/Inventory UI.prefab b/Assets/GDSC VIT Vellore/Inventory/Inventory UI.prefab
similarity index 100%
rename from Assets/Inventory/Inventory UI.prefab
rename to Assets/GDSC VIT Vellore/Inventory/Inventory UI.prefab
diff --git a/Assets/Inventory/Inventory UI.prefab.meta b/Assets/GDSC VIT Vellore/Inventory/Inventory UI.prefab.meta
similarity index 100%
rename from Assets/Inventory/Inventory UI.prefab.meta
rename to Assets/GDSC VIT Vellore/Inventory/Inventory UI.prefab.meta
diff --git a/Assets/Inventory/Inventory.cs b/Assets/GDSC VIT Vellore/Inventory/Inventory.cs
similarity index 95%
rename from Assets/Inventory/Inventory.cs
rename to Assets/GDSC VIT Vellore/Inventory/Inventory.cs
index 107ba94..29ea1ba 100644
--- a/Assets/Inventory/Inventory.cs
+++ b/Assets/GDSC VIT Vellore/Inventory/Inventory.cs
@@ -1,6 +1,8 @@
using UnityEngine;
using System.Collections.Generic;
+namespace GDGVITVellore.Modukit
+{
public class Inventory : MonoBehaviour
{
public static Inventory instance;
@@ -33,3 +35,4 @@ public void AddItem(ScriptableObject item)
}
}
}
+}
\ No newline at end of file
diff --git a/Assets/Inventory/Inventory.cs.meta b/Assets/GDSC VIT Vellore/Inventory/Inventory.cs.meta
similarity index 100%
rename from Assets/Inventory/Inventory.cs.meta
rename to Assets/GDSC VIT Vellore/Inventory/Inventory.cs.meta
diff --git a/Assets/Inventory/InventoryItemTile.cs b/Assets/GDSC VIT Vellore/Inventory/InventoryItemTile.cs
similarity index 96%
rename from Assets/Inventory/InventoryItemTile.cs
rename to Assets/GDSC VIT Vellore/Inventory/InventoryItemTile.cs
index 2ac691a..3ab4f48 100644
--- a/Assets/Inventory/InventoryItemTile.cs
+++ b/Assets/GDSC VIT Vellore/Inventory/InventoryItemTile.cs
@@ -3,6 +3,8 @@
using UnityEngine.UI;
using UnityEngine.Events;
+namespace GDGVITVellore.Modukit
+{
public class InventoryItemTile : MonoBehaviour
{
public Image tileItemImage;
@@ -29,4 +31,5 @@ public void setupTile(IInventoryItem item, UnityAction PurchaseI
}
else Debug.LogError("Text is not given");
}
+}
}
\ No newline at end of file
diff --git a/Assets/Inventory/InventoryItemTile.cs.meta b/Assets/GDSC VIT Vellore/Inventory/InventoryItemTile.cs.meta
similarity index 100%
rename from Assets/Inventory/InventoryItemTile.cs.meta
rename to Assets/GDSC VIT Vellore/Inventory/InventoryItemTile.cs.meta
diff --git a/Assets/Inventory/InventoryUI.cs b/Assets/GDSC VIT Vellore/Inventory/InventoryUI.cs
similarity index 96%
rename from Assets/Inventory/InventoryUI.cs
rename to Assets/GDSC VIT Vellore/Inventory/InventoryUI.cs
index 72bbb17..e275304 100644
--- a/Assets/Inventory/InventoryUI.cs
+++ b/Assets/GDSC VIT Vellore/Inventory/InventoryUI.cs
@@ -1,5 +1,7 @@
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
public class InventoryUI : MonoBehaviour
{
Inventory inventory;
@@ -29,3 +31,4 @@ void Awake()
}
}
}
+}
\ No newline at end of file
diff --git a/Assets/Inventory/InventoryUI.cs.meta b/Assets/GDSC VIT Vellore/Inventory/InventoryUI.cs.meta
similarity index 100%
rename from Assets/Inventory/InventoryUI.cs.meta
rename to Assets/GDSC VIT Vellore/Inventory/InventoryUI.cs.meta
diff --git a/Assets/ItemEffect.cs b/Assets/GDSC VIT Vellore/ItemEffect.cs
similarity index 83%
rename from Assets/ItemEffect.cs
rename to Assets/GDSC VIT Vellore/ItemEffect.cs
index 52d891e..02ac9bf 100644
--- a/Assets/ItemEffect.cs
+++ b/Assets/GDSC VIT Vellore/ItemEffect.cs
@@ -1,7 +1,10 @@
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
public abstract class ItemEffect : ScriptableObject
{
public abstract void ApplyEffect(object obj);
public abstract void RemoveEffect(object obj);
}
+}
\ No newline at end of file
diff --git a/Assets/ItemEffect.cs.meta b/Assets/GDSC VIT Vellore/ItemEffect.cs.meta
similarity index 100%
rename from Assets/ItemEffect.cs.meta
rename to Assets/GDSC VIT Vellore/ItemEffect.cs.meta
diff --git a/Assets/ObjectPooler.cs b/Assets/GDSC VIT Vellore/ObjectPooler.cs
similarity index 97%
rename from Assets/ObjectPooler.cs
rename to Assets/GDSC VIT Vellore/ObjectPooler.cs
index 5788c43..d91746f 100644
--- a/Assets/ObjectPooler.cs
+++ b/Assets/GDSC VIT Vellore/ObjectPooler.cs
@@ -2,6 +2,8 @@
using System.Collections.Generic;
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
[DefaultExecutionOrder(-1)]
public class ObjectPooler : MonoBehaviour
{
@@ -65,3 +67,4 @@ public class objectPoolItems
public GameObject Prefab;
public Queue objectPool = new Queue();
}
+}
\ No newline at end of file
diff --git a/Assets/ObjectPooler.cs.meta b/Assets/GDSC VIT Vellore/ObjectPooler.cs.meta
similarity index 100%
rename from Assets/ObjectPooler.cs.meta
rename to Assets/GDSC VIT Vellore/ObjectPooler.cs.meta
diff --git a/Assets/PowerUps.meta b/Assets/GDSC VIT Vellore/PowerUps.meta
similarity index 100%
rename from Assets/PowerUps.meta
rename to Assets/GDSC VIT Vellore/PowerUps.meta
diff --git a/Assets/PowerUps/PowerUpManager.cs b/Assets/GDSC VIT Vellore/PowerUps/PowerUpManager.cs
similarity index 96%
rename from Assets/PowerUps/PowerUpManager.cs
rename to Assets/GDSC VIT Vellore/PowerUps/PowerUpManager.cs
index 5dd764b..77644de 100644
--- a/Assets/PowerUps/PowerUpManager.cs
+++ b/Assets/GDSC VIT Vellore/PowerUps/PowerUpManager.cs
@@ -1,73 +1,76 @@
-using UnityEngine;
-
-public class PowerUpManager : MonoBehaviour
-{
- public static PowerUpManager instance; // Singleton instance of the PowerUpManage
- public PowerUpScriptableObject[] powerUps;
- public PowerUpScriptableObject activePowerUp;
- public GameObject activePowerUpGameObject { get; private set; } // The currently active power-up GameObject
-
- float spawnedTime = 0f;
-
- void Awake()
- {
- if (instance != null) Destroy(this);
- instance = this;
-
- PowerUpPickableItem.OnItemPick += ActivatePowerUp;
-
- }
-
- public void Update()
- {
- if (activePowerUp != null)
- {
- // Check if the power-up duration has expired
- if (Time.time - spawnedTime > activePowerUp.duration) RemoveActivePowerUp();
- }
- }
-
- public void SpawnPowerUp(Vector3 position)
- {
- float a = Random.Range(0f, 1f);
-
- if (a < -0.3f) //Change the number to a negative number to stop spawning powerups
- {
- if (powerUps.Length == 0)
- {
- Debug.LogWarning("No power-ups available to spawn.");
- return;
- }
-
- int randomIndex = Random.Range(0, powerUps.Length);
- GameObject powerUp = Instantiate(powerUps[randomIndex].powerUpPrefab, position, Quaternion.identity, transform);//Can be configured to use a object pool instead of instantiating every time}
- }
- }
-
- public void ActivatePowerUp(PowerUpScriptableObject obj)
- {
- if (activePowerUp == null)
- {
- activePowerUp = obj;
- foreach (ItemEffect effect in activePowerUp.effects)
- {
- effect.ApplyEffect(activePowerUp);
- }
-
- spawnedTime = Time.time; // Record the time when the power-up was spawned
- }
- }
-
- public void RemoveActivePowerUp()
- {
- if (activePowerUp != null)
- {
- foreach (ItemEffect effect in activePowerUp.effects)
- {
- effect.RemoveEffect(activePowerUp);
- }
-
- activePowerUp = null;
- }
- }
-}
+using UnityEngine;
+
+namespace GDGVITVellore.Modukit
+{
+public class PowerUpManager : MonoBehaviour
+{
+ public static PowerUpManager instance; // Singleton instance of the PowerUpManage
+ public PowerUpScriptableObject[] powerUps;
+ public PowerUpScriptableObject activePowerUp;
+ public GameObject activePowerUpGameObject { get; private set; } // The currently active power-up GameObject
+
+ float spawnedTime = 0f;
+
+ void Awake()
+ {
+ if (instance != null) Destroy(this);
+ instance = this;
+
+ PowerUpPickableItem.OnItemPick += ActivatePowerUp;
+
+ }
+
+ public void Update()
+ {
+ if (activePowerUp != null)
+ {
+ // Check if the power-up duration has expired
+ if (Time.time - spawnedTime > activePowerUp.duration) RemoveActivePowerUp();
+ }
+ }
+
+ public void SpawnPowerUp(Vector3 position)
+ {
+ float a = Random.Range(0f, 1f);
+
+ if (a < -0.3f) //Change the number to a negative number to stop spawning powerups
+ {
+ if (powerUps.Length == 0)
+ {
+ Debug.LogWarning("No power-ups available to spawn.");
+ return;
+ }
+
+ int randomIndex = Random.Range(0, powerUps.Length);
+ GameObject powerUp = Instantiate(powerUps[randomIndex].powerUpPrefab, position, Quaternion.identity, transform);//Can be configured to use a object pool instead of instantiating every time}
+ }
+ }
+
+ public void ActivatePowerUp(PowerUpScriptableObject obj)
+ {
+ if (activePowerUp == null)
+ {
+ activePowerUp = obj;
+ foreach (ItemEffect effect in activePowerUp.effects)
+ {
+ effect.ApplyEffect(activePowerUp);
+ }
+
+ spawnedTime = Time.time; // Record the time when the power-up was spawned
+ }
+ }
+
+ public void RemoveActivePowerUp()
+ {
+ if (activePowerUp != null)
+ {
+ foreach (ItemEffect effect in activePowerUp.effects)
+ {
+ effect.RemoveEffect(activePowerUp);
+ }
+
+ activePowerUp = null;
+ }
+ }
+}
+}
\ No newline at end of file
diff --git a/Assets/PowerUps/PowerUpManager.cs.meta b/Assets/GDSC VIT Vellore/PowerUps/PowerUpManager.cs.meta
similarity index 100%
rename from Assets/PowerUps/PowerUpManager.cs.meta
rename to Assets/GDSC VIT Vellore/PowerUps/PowerUpManager.cs.meta
diff --git a/Assets/PowerUps/PowerUpPickableItem.cs b/Assets/GDSC VIT Vellore/PowerUps/PowerUpPickableItem.cs
similarity index 94%
rename from Assets/PowerUps/PowerUpPickableItem.cs
rename to Assets/GDSC VIT Vellore/PowerUps/PowerUpPickableItem.cs
index 3137410..15b35bd 100644
--- a/Assets/PowerUps/PowerUpPickableItem.cs
+++ b/Assets/GDSC VIT Vellore/PowerUps/PowerUpPickableItem.cs
@@ -1,5 +1,7 @@
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
public class PowerUpPickableItem : MonoBehaviour
{
public delegate void pickAction(PowerUpScriptableObject obj);
@@ -21,3 +23,4 @@ void OnTriggerEnter(Collider other)
}
}
}
+}
\ No newline at end of file
diff --git a/Assets/PowerUps/PowerUpPickableItem.cs.meta b/Assets/GDSC VIT Vellore/PowerUps/PowerUpPickableItem.cs.meta
similarity index 100%
rename from Assets/PowerUps/PowerUpPickableItem.cs.meta
rename to Assets/GDSC VIT Vellore/PowerUps/PowerUpPickableItem.cs.meta
diff --git a/Assets/PowerUps/PowerUpScriptableObject.cs b/Assets/GDSC VIT Vellore/PowerUps/PowerUpScriptableObject.cs
similarity index 87%
rename from Assets/PowerUps/PowerUpScriptableObject.cs
rename to Assets/GDSC VIT Vellore/PowerUps/PowerUpScriptableObject.cs
index 09d2d0e..7e8cc5e 100644
--- a/Assets/PowerUps/PowerUpScriptableObject.cs
+++ b/Assets/GDSC VIT Vellore/PowerUps/PowerUpScriptableObject.cs
@@ -1,5 +1,7 @@
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
public class PowerUpScriptableObject : ScriptableObject
{
public GameObject powerUpPrefab;
@@ -8,3 +10,4 @@ public class PowerUpScriptableObject : ScriptableObject
public float duration;
public ItemEffect[] effects;
}
+}
\ No newline at end of file
diff --git a/Assets/PowerUps/PowerUpScriptableObject.cs.meta b/Assets/GDSC VIT Vellore/PowerUps/PowerUpScriptableObject.cs.meta
similarity index 100%
rename from Assets/PowerUps/PowerUpScriptableObject.cs.meta
rename to Assets/GDSC VIT Vellore/PowerUps/PowerUpScriptableObject.cs.meta
diff --git a/Assets/PowerUps/Powerup.prefab b/Assets/GDSC VIT Vellore/PowerUps/Powerup.prefab
similarity index 100%
rename from Assets/PowerUps/Powerup.prefab
rename to Assets/GDSC VIT Vellore/PowerUps/Powerup.prefab
diff --git a/Assets/PowerUps/Powerup.prefab.meta b/Assets/GDSC VIT Vellore/PowerUps/Powerup.prefab.meta
similarity index 100%
rename from Assets/PowerUps/Powerup.prefab.meta
rename to Assets/GDSC VIT Vellore/PowerUps/Powerup.prefab.meta
diff --git a/Assets/Save System.meta b/Assets/GDSC VIT Vellore/Save System.meta
similarity index 100%
rename from Assets/Save System.meta
rename to Assets/GDSC VIT Vellore/Save System.meta
diff --git a/Assets/Save System/ISaveFuncs.cs b/Assets/GDSC VIT Vellore/Save System/ISaveFuncs.cs
similarity index 83%
rename from Assets/Save System/ISaveFuncs.cs
rename to Assets/GDSC VIT Vellore/Save System/ISaveFuncs.cs
index 7f0d81c..9b60b31 100644
--- a/Assets/Save System/ISaveFuncs.cs
+++ b/Assets/GDSC VIT Vellore/Save System/ISaveFuncs.cs
@@ -2,9 +2,12 @@
using System.Collections.Generic;
using System.IO;
+namespace GDGVITVellore.Modukit
+{
public interface ISaveFuncs
{
string id { get; }
void LoadData(object data);
object SaveData();
+}
}
\ No newline at end of file
diff --git a/Assets/Save System/ISaveFuncs.cs.meta b/Assets/GDSC VIT Vellore/Save System/ISaveFuncs.cs.meta
similarity index 100%
rename from Assets/Save System/ISaveFuncs.cs.meta
rename to Assets/GDSC VIT Vellore/Save System/ISaveFuncs.cs.meta
diff --git a/Assets/Save System/SaveManager.cs b/Assets/GDSC VIT Vellore/Save System/SaveManager.cs
similarity index 99%
rename from Assets/Save System/SaveManager.cs
rename to Assets/GDSC VIT Vellore/Save System/SaveManager.cs
index d444cbc..5a6f3d8 100644
--- a/Assets/Save System/SaveManager.cs
+++ b/Assets/GDSC VIT Vellore/Save System/SaveManager.cs
@@ -5,6 +5,8 @@
using System.Text;
using UnityEngine;
+namespace GDGVITVellore.Modukit
+{
public class SaveManager : MonoBehaviour
{
public static SaveManager Instance { get; private set; }
@@ -188,4 +190,5 @@ public class SaveEntry
public class SaveFile
{
public List entries = new();
+}
}
\ No newline at end of file
diff --git a/Assets/Save System/SaveManager.cs.meta b/Assets/GDSC VIT Vellore/Save System/SaveManager.cs.meta
similarity index 100%
rename from Assets/Save System/SaveManager.cs.meta
rename to Assets/GDSC VIT Vellore/Save System/SaveManager.cs.meta
diff --git a/Assets/Shop.meta b/Assets/GDSC VIT Vellore/Shop.meta
similarity index 100%
rename from Assets/Shop.meta
rename to Assets/GDSC VIT Vellore/Shop.meta
diff --git a/Assets/Shop/Scripts.meta b/Assets/GDSC VIT Vellore/Shop/Scripts.meta
similarity index 100%
rename from Assets/Shop/Scripts.meta
rename to Assets/GDSC VIT Vellore/Shop/Scripts.meta
diff --git a/Assets/Shop/Scripts/ShopItemScriptableIObject.cs b/Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemScriptableIObject.cs
similarity index 96%
rename from Assets/Shop/Scripts/ShopItemScriptableIObject.cs
rename to Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemScriptableIObject.cs
index f3474b7..63c318f 100644
--- a/Assets/Shop/Scripts/ShopItemScriptableIObject.cs
+++ b/Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemScriptableIObject.cs
@@ -1,24 +1,27 @@
-using System;
-using UnityEngine;
-using UnityEngine.Events;
-using UnityEngine.UI;
-
-[Serializable]
-[CreateAssetMenu(fileName = "ShopItem", menuName = "Shop Items")]
-public class ShopItemScriptableIObject : ScriptableObject
-{
- public Sprite itemImage;// Image of the item to be displayed in the shop
- public Color itemImageTint = Color.white; // Tint color for the item image
- public string itemName;// Name of the item to be displayed in the shop
- public string itemDescription;// Description of the item to be displayed in the shop
- public SaveableVariables parameters;
- public ItemEffect[] effects;// Event to register all the fuctions which need to be called on purchase of item
-}
-
-[System.Serializable]
-public class SaveableVariables
-{
- public int itemPrice;// Price of the item in the shop
- public int itemQuantity;// Quantity of the item available in the shop
- public bool isPurchased;// Flag to check if the item has been purchased
+using System;
+using UnityEngine;
+using UnityEngine.Events;
+using UnityEngine.UI;
+
+namespace GDGVITVellore.Modukit
+{
+[Serializable]
+[CreateAssetMenu(fileName = "ShopItem", menuName = "Shop Items")]
+public class ShopItemScriptableIObject : ScriptableObject
+{
+ public Sprite itemImage;// Image of the item to be displayed in the shop
+ public Color itemImageTint = Color.white; // Tint color for the item image
+ public string itemName;// Name of the item to be displayed in the shop
+ public string itemDescription;// Description of the item to be displayed in the shop
+ public SaveableVariables parameters;
+ public ItemEffect[] effects;// Event to register all the fuctions which need to be called on purchase of item
+}
+
+[System.Serializable]
+public class SaveableVariables
+{
+ public int itemPrice;// Price of the item in the shop
+ public int itemQuantity;// Quantity of the item available in the shop
+ public bool isPurchased;// Flag to check if the item has been purchased
+}
}
\ No newline at end of file
diff --git a/Assets/Shop/Scripts/ShopItemScriptableIObject.cs.meta b/Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemScriptableIObject.cs.meta
similarity index 100%
rename from Assets/Shop/Scripts/ShopItemScriptableIObject.cs.meta
rename to Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemScriptableIObject.cs.meta
diff --git a/Assets/Shop/Scripts/ShopItemTile.cs b/Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemTile.cs
similarity index 97%
rename from Assets/Shop/Scripts/ShopItemTile.cs
rename to Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemTile.cs
index 25aa42d..6a0c9b7 100644
--- a/Assets/Shop/Scripts/ShopItemTile.cs
+++ b/Assets/GDSC VIT Vellore/Shop/Scripts/ShopItemTile.cs
@@ -1,40 +1,43 @@
-using TMPro;
-using UnityEngine;
-using UnityEngine.UI;
-using UnityEngine.Events;
-
-public class ShopItemTile : MonoBehaviour
-{
- public Image tileItemImage;
- public TMP_Text tileNameText;
- public TMP_Text tilePriceText;
-
- public void setupTile(ShopItemScriptableIObject item, UnityAction PurchaseItem)
- {
- Button tileButton = GetComponent