Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
prabdhal committed Nov 13, 2024
1 parent 1f5743e commit 4b57f06
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 339 deletions.
71 changes: 0 additions & 71 deletions Assets/OnScreenKeyboard/Demo/OnScreenKeyboardDemo.unity
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,6 @@ GameObject:
- component: {fileID: 1823688467}
- component: {fileID: 1823688466}
- component: {fileID: 1823688465}
- component: {fileID: 1823688468}
- component: {fileID: 1823688469}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
Expand Down Expand Up @@ -654,74 +652,6 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1823688468
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1823688464}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 23c1ce4fb46143f46bc5cb5224c934f6, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1823688469
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1823688464}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &2013410473
GameObject:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2013410475}
- component: {fileID: 2013410474}
m_Layer: 0
m_Name: StaticLightingSky
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &2013410474
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2013410473}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 441482e8936e35048a1dffac814e3ef8, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &2013410475
Transform:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2013410473}
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!1 &218756611309162754
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -3138,6 +3068,5 @@ SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 1823688467}
- {fileID: 2013410475}
- {fileID: 310418128}
- {fileID: 771868082}
Binary file not shown.
2 changes: 1 addition & 1 deletion Assets/OnScreenKeyboard/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Contains the `TestPage` scene, set up for quick testing of keyboard functionalit
---

## License
This asset is available for $1 on the Unity Asset Store. It�s free for use in personal and commercial projects. Modify freely to fit your project�s needs.
This asset is available on the Unity Asset Store. It�s free for use in personal and commercial projects. Modify freely to fit your project�s needs.

---

Expand Down
3 changes: 3 additions & 0 deletions Assets/OnScreenKeyboard/Scripts/Key.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ namespace PrabdeepDhaliwal.OnScreenKeyboard
public class Key : MonoBehaviour
{
#region Fields
[HideInInspector]
public Button button; // Button for this key
[HideInInspector]
public TextMeshProUGUI primaryKeyText; // Text for the primary character (e.g., lowercase)
[HideInInspector]
public TextMeshProUGUI secondaryKeyText; // Text for the secondary character (e.g., uppercase or alternative)
public string primaryValue; // Primary character value (e.g., 'a', '1')
[SerializeField]
Expand Down
267 changes: 0 additions & 267 deletions Assets/Scenes/SampleScene.unity

This file was deleted.

0 comments on commit 4b57f06

Please sign in to comment.