Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal committed Jul 23, 2024
2 parents 9c9a5bb + 9bbf066 commit 49dd033
Show file tree
Hide file tree
Showing 56 changed files with 1,112 additions and 311 deletions.
3 changes: 1 addition & 2 deletions Common/Code/Button.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: Button
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 7192e2e1d7c4a7d448455f744f1d3ddb,
type: 2}
serializedUdonProgramAsset: {fileID: 11400000, guid: faf52a55284ecea8db98fd1a914cf445, type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: 5c89c3afcd2f2dc41a5dc8df8a3990d3, type: 3}
Expand Down
3 changes: 1 addition & 2 deletions Common/Code/CameraScaleConstraint.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: CameraScaleConstraint
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 731809b26ab319e43ae0548ad934d2e5,
type: 2}
serializedUdonProgramAsset: {fileID: 11400000, guid: 34ed1b418eba6b5a4a3b8a614394e83d, type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: 755dff9a1154b9e49969712038602a23, type: 3}
Expand Down
3 changes: 1 addition & 2 deletions Common/Code/ColliderParameterSetter.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: ColliderParameterSetter
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 19a7a220d8b8ff74c86845428eb21114,
type: 2}
serializedUdonProgramAsset: {fileID: 11400000, guid: a15b8c96f71c57e9f807701858d291b9, type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: 19573f5e5a5ad9e45b109d7812b1c45d, type: 3}
Expand Down
59 changes: 56 additions & 3 deletions Common/Code/GameSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: GameSettings
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 104dcdcd4551ae14fbff9db79e90ede8,
type: 2}
serializedUdonProgramAsset: {fileID: 11400000, guid: f9d73526df63929a3bcfd11805d12801, type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: d657e2cc05905b640a328f8f9248fc0f, type: 3}
Expand Down Expand Up @@ -44,7 +43,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 12
Data: 3
Data: 4
- Name:
Entry: 7
Data:
Expand Down Expand Up @@ -213,6 +212,60 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Music
- Name: $v
Entry: 7
Data: 12|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: Music
- Name: <UserType>k__BackingField
Entry: 7
Data: 13|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.AudioClip, UnityEngine.AudioModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 13
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 14|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
Expand Down
1 change: 1 addition & 0 deletions Common/Code/GameSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ public class GameSettings : UdonSharpBehaviour
public RenderTexture RenderTextureToUse;
public string ScreenShaderEmissionPropertyName = "_EmissionMap";
public SharedScoreboard SharedScoreboardPrefab;
public AudioClip Music;
}
}
59 changes: 56 additions & 3 deletions Common/Code/GameSettingsApplier.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: GameSettingsApplier
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 554be7dfe854e1a4ba12e7c41e898a84,
type: 2}
serializedUdonProgramAsset: {fileID: 11400000, guid: 9d6f5d607001c29d7a1a6f465b291d01, type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: 2fd3ccb92bb180f468f8ac22bdd9ce53, type: 3}
Expand Down Expand Up @@ -44,7 +43,7 @@ MonoBehaviour:
Data:
- Name:
Entry: 12
Data: 3
Data: 4
- Name:
Entry: 7
Data:
Expand Down Expand Up @@ -213,6 +212,60 @@ MonoBehaviour:
- Name:
Entry: 8
Data:
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Music
- Name: $v
Entry: 7
Data: 12|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: Music
- Name: <UserType>k__BackingField
Entry: 7
Data: 13|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.AudioSource, UnityEngine.AudioModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 13
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
- Name:
Entry: 6
Data:
- Name:
Entry: 8
Data:
- Name: <IsSerialized>k__BackingField
Entry: 5
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 14|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
Expand Down
3 changes: 3 additions & 0 deletions Common/Code/GameSettingsApplier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public class GameSettingsApplier : UdonSharpBehaviour
public GameSettings GameSettingsInstance;
public Camera CameraLookingAtGame;
public MeshRenderer ScreenRenderer;
public AudioSource Music;

void Start()
{
CameraLookingAtGame.targetTexture = GameSettingsInstance.RenderTextureToUse;
Expand All @@ -20,6 +22,7 @@ void Start()
{
ScreenRenderer.material.SetTexture(GameSettingsInstance.ScreenShaderEmissionPropertyName, GameSettingsInstance.RenderTextureToUse);
}
Music.clip = GameSettingsInstance.Music;
}
}
}
41 changes: 25 additions & 16 deletions Common/Code/Joystick.asset
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: Joystick
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 4ba50d1b02d37f64baaa92fef8e62c73,
type: 2}
serializedUdonProgramAsset: {fileID: 11400000, guid: a83147dcdf16613cb804aeb523946e27, type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: 769d8d2dff6d6704f9122bdaf9dd4ef9, type: 3}
Expand Down Expand Up @@ -200,7 +199,17 @@ MonoBehaviour:
Data: 11|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
Data: 1
- Name:
Entry: 7
Data: 12|UnityEngine.HeaderAttribute, UnityEngine.CoreModule
- Name: header
Entry: 1
Data: Left and right side of the screen, used to track the position of the
joystick
- Name:
Entry: 8
Data:
- Name:
Entry: 13
Data:
Expand All @@ -221,7 +230,7 @@ MonoBehaviour:
Data: RightScreen
- Name: $v
Entry: 7
Data: 12|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 13|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: RightScreen
Expand All @@ -245,7 +254,7 @@ MonoBehaviour:
Data: true
- Name: _fieldAttributes
Entry: 7
Data: 13|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
Data: 14|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
Expand All @@ -269,13 +278,13 @@ MonoBehaviour:
Data: _objectSync
- Name: $v
Entry: 7
Data: 14|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 15|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _objectSync
- Name: <UserType>k__BackingField
Entry: 7
Data: 15|System.RuntimeType, mscorlib
Data: 16|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: VRC.SDK3.Components.VRCObjectSync, VRCSDK3
Expand All @@ -284,7 +293,7 @@ MonoBehaviour:
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 15
Data: 16
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
Expand All @@ -299,7 +308,7 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 16|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
Data: 17|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
Expand All @@ -323,13 +332,13 @@ MonoBehaviour:
Data: _pickup
- Name: $v
Entry: 7
Data: 17|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 18|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _pickup
- Name: <UserType>k__BackingField
Entry: 7
Data: 18|System.RuntimeType, mscorlib
Data: 19|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: VRC.SDK3.Components.VRCPickup, VRCSDK3
Expand All @@ -338,7 +347,7 @@ MonoBehaviour:
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 18
Data: 19
- Name: <SyncMode>k__BackingField
Entry: 7
Data: System.Nullable`1[[UdonSharp.UdonSyncMode, UdonSharp.Runtime]], mscorlib
Expand All @@ -353,7 +362,7 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 19|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
Data: 20|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
Expand All @@ -377,13 +386,13 @@ MonoBehaviour:
Data: _joystickLoop
- Name: $v
Entry: 7
Data: 20|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
Data: 21|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: _joystickLoop
- Name: <UserType>k__BackingField
Entry: 7
Data: 21|System.RuntimeType, mscorlib
Data: 22|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: myro.arcade.JoystickLoop, Assembly-CSharp
Expand All @@ -407,7 +416,7 @@ MonoBehaviour:
Data: false
- Name: _fieldAttributes
Entry: 7
Data: 22|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
Data: 23|System.Collections.Generic.List`1[[System.Attribute, mscorlib]], mscorlib
- Name:
Entry: 12
Data: 0
Expand Down
2 changes: 2 additions & 0 deletions Common/Code/Joystick.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public class Joystick : UdonSharpBehaviour
{
public UdonSharpBehaviour MainGameInstance;
public GameObject HoloJoystick;

[Header("Left and right side of the screen, used to track the position of the joystick")]
public Transform LeftScreen;
public Transform RightScreen;
private VRCObjectSync _objectSync;
Expand Down
Loading

0 comments on commit 49dd033

Please sign in to comment.