Skip to content

Commit

Permalink
Merge pull request #7 from o-tr/master
Browse files Browse the repository at this point in the history
v0.2.4をリリース
  • Loading branch information
o-tr authored Sep 15, 2024
2 parents 00ea48a + 9d5b8ec commit 8d7fe66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Prefabs/parts/Settings.About.Content.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: ImageTab v0.2.3
m_text: ImageTab v0.2.4
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 7758130c7e489894db77d74ac7b81c3c, type: 2}
m_sharedMaterial: {fileID: -6069958157732398970, guid: 7758130c7e489894db77d74ac7b81c3c, type: 2}
Expand Down
4 changes: 2 additions & 2 deletions Runtime/Editor/ImageTabEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ protected override void ShowContent()
EditorGUILayout.PropertyField(_isObjectSyncEnabled, new GUIContent("Enable Object Sync"));
EditorGUILayout.Space();
EditorGUILayout.PropertyField(_isPickupEnabled, new GUIContent("Enable Pickup"));
serializedObject.ApplyModifiedProperties();
if (EditorGUI.EndChangeCheck())
{
ImageTabUtils.UpdateObjectSync((ImageTab)target);
ImageTabUtils.UpdatePickup((ImageTab)target);
}
serializedObject.ApplyModifiedProperties();
EditorGUILayout.Space();
BuildBookmark((ImageTab)target);
}
Expand Down Expand Up @@ -169,7 +169,7 @@ public static void UpdatePickup(ImageTab script)
{
var so = new SerializedObject(script.pickupCollider);
so.Update();
so.FindProperty("m_Enabled").boolValue = !script.isPickupEnabled;
so.FindProperty("m_Enabled").boolValue = script.isPickupEnabled;
so.ApplyModifiedProperties();
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jp.ootr.image-tab",
"displayName": "ImageTab",
"version": "0.2.3",
"version": "0.2.4",
"license": "MIT",
"unity": "2022.3",
"description": "Image tablet gimmick for VRChat",
Expand Down

0 comments on commit 8d7fe66

Please sign in to comment.