Skip to content

Commit c602346

Browse files
committed
ver 3.13.0-beta.4 更新
1 parent 7a98c53 commit c602346

33 files changed

+1189
-676
lines changed

Packages/com.mimylab.fukuroudon/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
利用手順は[こちら](https://github.com/mimyquality/FukuroUdon/wiki)からご確認ください。
88

9+
## [3.13.0-beta.4] - 2025/11/12
10+
11+
- **Added**
12+
- ActiveRelay with Drop を追加しました。
13+
14+
- **Fixed**
15+
- Animator Parameter Sync を少し軽量化しました。
16+
917
## [3.13.0-beta.3] - 2025/11/3
1018

1119
- **Added**
@@ -764,6 +772,7 @@
764772
- 0.2.7バージョンで、later-joiner視点でjoin直後が非アクティブだと同期しなかったのを修正しました。
765773
- 他人がピックアップした際にオブジェクトが一瞬跳ねる現象を低減しました。
766774

775+
[3.13.0-beta.4]: https://github.com/mimyquality/FukuroUdon/releases/tag/3.13.0-beta.4
767776
[3.13.0-beta.3]: https://github.com/mimyquality/FukuroUdon/releases/tag/3.13.0-beta.3
768777
[3.13.0-beta.2]: https://github.com/mimyquality/FukuroUdon/releases/tag/3.13.0-beta.2
769778
[3.13.0-beta.1]: https://github.com/mimyquality/FukuroUdon/releases/tag/3.13.0-beta.1

Packages/com.mimylab.fukuroudon/Runtime/ActiveRelay/Scripts/ActiveRelayToComponent.cs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace MimyLab.FukuroUdon
1313
using VRC.SDK3.Dynamics.PhysBone.Components;
1414
using VRC.SDK3.Dynamics.Contact.Components;
1515
using VRC.Udon;
16+
using VRC.Dynamics;
1617

1718
[HelpURL("https://github.com/mimyquality/FukuroUdon/wiki/Active-Relay#activerelay-to-component")]
1819
[Icon(ComponentIconPath.FukuroUdon)]
@@ -43,7 +44,7 @@ private void OnValidate()
4344
if (ValidateComponentType(component))
4445
{
4546
tmp_Components[componentCount++] = component;
46-
47+
4748
if (component is UdonSharpBehaviour usb)
4849
{
4950
tmp_udonSharpBehaviours[usbCount++] = usb;
@@ -86,15 +87,9 @@ private bool ValidateComponentType(Component component)
8687
if (component is Animator) { return true; }
8788
if (component is UdonBehaviour) { return true; }
8889
if (component is UdonSharpBehaviour) { return true; }
89-
if (component is VRCParentConstraint) { return true; }
90-
if (component is VRCPositionConstraint) { return true; }
91-
if (component is VRCRotationConstraint) { return true; }
92-
if (component is VRCScaleConstraint) { return true; }
93-
if (component is VRCAimConstraint) { return true; }
94-
if (component is VRCLookAtConstraint) { return true; }
90+
if (component is VRCConstraintBase) { return true; }
9591
if (component is VRCPhysBone) { return true; }
96-
if (component is VRCContactSender) { return true; }
97-
if (component is VRCContactReceiver) { return true; }
92+
if (component is ContactBase) { return true; }
9893

9994
return false;
10095
}

Packages/com.mimylab.fukuroudon/Runtime/ActiveRelay/Scripts/ActiveRelayToObjectSync.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ MonoBehaviour:
1818
sourceCsScript: {fileID: 11500000, guid: ac8bd35f15c746043be5d56cfe570aae, type: 3}
1919
scriptVersion: 2
2020
compiledVersion: 2
21-
behaviourSyncMode: 2
21+
behaviourSyncMode: 4
2222
hasInteractEvent: 0
2323
scriptID: -894442957220004761
2424
serializationData:

Packages/com.mimylab.fukuroudon/Runtime/ActiveRelay/Scripts/ActiveRelayToObjectSync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public enum ActiveRelayActionType
2323
[HelpURL("https://github.com/mimyquality/FukuroUdon/wiki/Active-Relay#activerelay-to-objectsync")]
2424
[Icon(ComponentIconPath.FukuroUdon)]
2525
[AddComponentMenu("Fukuro Udon/ActiveRelay to/ActiveRelay to ObjectSync")]
26-
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
26+
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
2727
public class ActiveRelayToObjectSync : UdonSharpBehaviour
2828
{
2929
[SerializeField]

Packages/com.mimylab.fukuroudon/Runtime/ActiveRelay/Scripts/ActiveRelayToPhysbone.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ MonoBehaviour:
1818
sourceCsScript: {fileID: 11500000, guid: c0b4f422833a901409044b76c56ea988, type: 3}
1919
scriptVersion: 2
2020
compiledVersion: 2
21-
behaviourSyncMode: 2
21+
behaviourSyncMode: 4
2222
hasInteractEvent: 0
2323
scriptID: 4949348021901934846
2424
serializationData:

Packages/com.mimylab.fukuroudon/Runtime/ActiveRelay/Scripts/ActiveRelayToPhysbone.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace MimyLab.FukuroUdon
1515
[HelpURL("https://github.com/mimyquality/FukuroUdon/wiki/Active-Relay#activerelay-to-physbone")]
1616
[Icon(ComponentIconPath.FukuroUdon)]
1717
[AddComponentMenu("Fukuro Udon/ActiveRelay to/ActiveRelay to Physbone")]
18-
[UdonBehaviourSyncMode(BehaviourSyncMode.NoVariableSync)]
18+
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
1919
public class ActiveRelayToPhysbone : UdonSharpBehaviour
2020
{
2121
[SerializeField]
Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
13+
m_Name: ActiveRelayWithDrop
14+
m_EditorClassIdentifier:
15+
serializedUdonProgramAsset: {fileID: 11400000, guid: a6b7a1eeca414024bb6dce9c8e99bf91, type: 2}
16+
udonAssembly:
17+
assemblyError:
18+
sourceCsScript: {fileID: 11500000, guid: 03d9eb5864a76d04286119d752c1ae75, type: 3}
19+
scriptVersion: 2
20+
compiledVersion: 2
21+
behaviourSyncMode: 1
22+
hasInteractEvent: 0
23+
scriptID: -6131806880107031430
24+
serializationData:
25+
SerializedFormat: 2
26+
SerializedBytes:
27+
ReferencedUnityObjects: []
28+
SerializedBytesString:
29+
Prefab: {fileID: 0}
30+
PrefabModificationsReferencedUnityObjects: []
31+
PrefabModifications: []
32+
SerializationNodes:
33+
- Name: fieldDefinitions
34+
Entry: 7
35+
Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition,
36+
UdonSharp.Editor]], mscorlib
37+
- Name: comparer
38+
Entry: 7
39+
Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
40+
mscorlib]], mscorlib
41+
- Name:
42+
Entry: 8
43+
Data:
44+
- Name:
45+
Entry: 12
46+
Data: 3
47+
- Name:
48+
Entry: 7
49+
Data:
50+
- Name: $k
51+
Entry: 1
52+
Data: _eventType
53+
- Name: $v
54+
Entry: 7
55+
Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
56+
- Name: <Name>k__BackingField
57+
Entry: 1
58+
Data: _eventType
59+
- Name: <UserType>k__BackingField
60+
Entry: 7
61+
Data: 3|System.RuntimeType, mscorlib
62+
- Name:
63+
Entry: 1
64+
Data: MimyLab.FukuroUdon.ActiveRelayEventType, FukuroUdon
65+
- Name:
66+
Entry: 8
67+
Data:
68+
- Name: <SystemType>k__BackingField
69+
Entry: 7
70+
Data: 4|System.RuntimeType, mscorlib
71+
- Name:
72+
Entry: 1
73+
Data: System.Int32, mscorlib
74+
- Name:
75+
Entry: 8
76+
Data:
77+
- Name: <SyncMode>k__BackingField
78+
Entry: 7
79+
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
80+
- Name:
81+
Entry: 6
82+
Data:
83+
- Name:
84+
Entry: 8
85+
Data:
86+
- Name: <IsSerialized>k__BackingField
87+
Entry: 5
88+
Data: true
89+
- Name: _fieldAttributes
90+
Entry: 7
91+
Data: 5|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
92+
- Name:
93+
Entry: 12
94+
Data: 1
95+
- Name:
96+
Entry: 7
97+
Data: 6|UnityEngine.SerializeField, UnityEngine.CoreModule
98+
- Name:
99+
Entry: 8
100+
Data:
101+
- Name:
102+
Entry: 13
103+
Data:
104+
- Name:
105+
Entry: 8
106+
Data:
107+
- Name:
108+
Entry: 8
109+
Data:
110+
- Name:
111+
Entry: 8
112+
Data:
113+
- Name:
114+
Entry: 7
115+
Data:
116+
- Name: $k
117+
Entry: 1
118+
Data: _pickup
119+
- Name: $v
120+
Entry: 7
121+
Data: 7|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
122+
- Name: <Name>k__BackingField
123+
Entry: 1
124+
Data: _pickup
125+
- Name: <UserType>k__BackingField
126+
Entry: 7
127+
Data: 8|System.RuntimeType, mscorlib
128+
- Name:
129+
Entry: 1
130+
Data: VRC.SDK3.Components.VRCPickup, VRCSDK3
131+
- Name:
132+
Entry: 8
133+
Data:
134+
- Name: <SystemType>k__BackingField
135+
Entry: 9
136+
Data: 8
137+
- Name: <SyncMode>k__BackingField
138+
Entry: 7
139+
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
140+
- Name:
141+
Entry: 6
142+
Data:
143+
- Name:
144+
Entry: 8
145+
Data:
146+
- Name: <IsSerialized>k__BackingField
147+
Entry: 5
148+
Data: false
149+
- Name: _fieldAttributes
150+
Entry: 7
151+
Data: 9|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
152+
- Name:
153+
Entry: 12
154+
Data: 0
155+
- Name:
156+
Entry: 13
157+
Data:
158+
- Name:
159+
Entry: 8
160+
Data:
161+
- Name:
162+
Entry: 8
163+
Data:
164+
- Name:
165+
Entry: 8
166+
Data:
167+
- Name:
168+
Entry: 7
169+
Data:
170+
- Name: $k
171+
Entry: 1
172+
Data: _initialized
173+
- Name: $v
174+
Entry: 7
175+
Data: 10|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
176+
- Name: <Name>k__BackingField
177+
Entry: 1
178+
Data: _initialized
179+
- Name: <UserType>k__BackingField
180+
Entry: 7
181+
Data: 11|System.RuntimeType, mscorlib
182+
- Name:
183+
Entry: 1
184+
Data: System.Boolean, mscorlib
185+
- Name:
186+
Entry: 8
187+
Data:
188+
- Name: <SystemType>k__BackingField
189+
Entry: 9
190+
Data: 11
191+
- Name: <SyncMode>k__BackingField
192+
Entry: 7
193+
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
194+
- Name:
195+
Entry: 6
196+
Data:
197+
- Name:
198+
Entry: 8
199+
Data:
200+
- Name: <IsSerialized>k__BackingField
201+
Entry: 5
202+
Data: false
203+
- Name: _fieldAttributes
204+
Entry: 7
205+
Data: 12|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
206+
- Name:
207+
Entry: 12
208+
Data: 0
209+
- Name:
210+
Entry: 13
211+
Data:
212+
- Name:
213+
Entry: 8
214+
Data:
215+
- Name:
216+
Entry: 8
217+
Data:
218+
- Name:
219+
Entry: 8
220+
Data:
221+
- Name:
222+
Entry: 13
223+
Data:
224+
- Name:
225+
Entry: 8
226+
Data:

Packages/com.mimylab.fukuroudon/Runtime/ActiveRelay/Scripts/ActiveRelayWithDrop.asset.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/*
2+
Copyright (c) 2025 Mimy Quality
3+
Released under the MIT license
4+
https://opensource.org/licenses/mit-license.php
5+
*/
6+
7+
namespace MimyLab.FukuroUdon
8+
{
9+
using UdonSharp;
10+
using UnityEngine;
11+
using VRC.SDK3.Components;
12+
13+
[HelpURL("https://github.com/mimyquality/FukuroUdon/wiki/Active-Relay#activerelay-with-drop")]
14+
[Icon(ComponentIconPath.FukuroUdon)]
15+
[AddComponentMenu("Fukuro Udon/ActiveRelay with/ActiveRelay with Drop")]
16+
[RequireComponent(typeof(VRCPickup))]
17+
[UdonBehaviourSyncMode(BehaviourSyncMode.None)]
18+
public class ActiveRelayWithDrop : UdonSharpBehaviour
19+
{
20+
[SerializeField]
21+
private ActiveRelayEventType _eventType = ActiveRelayEventType.Inactive;
22+
23+
private VRCPickup _pickup;
24+
25+
private bool _initialized = false;
26+
private void Initialize()
27+
{
28+
if (_initialized) { return; }
29+
30+
_pickup = GetComponent<VRCPickup>();
31+
32+
_initialized = true;
33+
}
34+
35+
private void OnEnable()
36+
{
37+
Initialize();
38+
39+
if (_eventType == ActiveRelayEventType.ActiveAndInactive ||
40+
_eventType == ActiveRelayEventType.Active)
41+
{
42+
DropThis();
43+
}
44+
}
45+
46+
private void OnDisable()
47+
{
48+
if (_eventType == ActiveRelayEventType.ActiveAndInactive ||
49+
_eventType == ActiveRelayEventType.Inactive)
50+
{
51+
DropThis();
52+
}
53+
}
54+
55+
private void DropThis()
56+
{
57+
if (_pickup.IsHeld)
58+
{
59+
_pickup.Drop();
60+
}
61+
}
62+
}
63+
}

0 commit comments

Comments
 (0)