- Added a secret toggle to activate the very special vulpine.

- Disabled jumping.
This commit is contained in:
Jamie Greunbaum
2024-12-09 03:21:13 -05:00
parent 80ed37ca2e
commit 35d294e5e5
25 changed files with 1134 additions and 328 deletions
+6
View File
@@ -24,9 +24,13 @@ public class Horseshoe : UdonSharpBehaviour
public override void OnPickup()
{
Networking.SetOwner(Networking.LocalPlayer, gameObject);
IsBeingHeld = true;
EnableConstraints(false);
RequestSerialization();
base.OnPickup();
}
@@ -43,6 +47,8 @@ public class Horseshoe : UdonSharpBehaviour
EnableConstraints(false);
}
RequestSerialization();
base.OnDrop();
}
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 392de5ada244b074db394a7e76aa6d04
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,107 @@
%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: c333ccfdd0cbdbc4ca30cef2dd6e6b9b, type: 3}
m_Name: SecretVulpine
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 444456c545771e54e9155151732d669e,
type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: 4b9393fee8dcb7c4e90a4f7b21518221, type: 3}
scriptVersion: 2
compiledVersion: 2
behaviourSyncMode: 0
hasInteractEvent: 1
scriptID: -8610235078425832821
serializationData:
SerializedFormat: 2
SerializedBytes:
ReferencedUnityObjects: []
SerializedBytesString:
Prefab: {fileID: 0}
PrefabModificationsReferencedUnityObjects: []
PrefabModifications: []
SerializationNodes:
- Name: fieldDefinitions
Entry: 7
Data: 0|System.Collections.Generic.Dictionary`2[[System.String, mscorlib],[UdonSharp.Compiler.FieldDefinition,
UdonSharp.Editor]], mscorlib
- Name: comparer
Entry: 7
Data: 1|System.Collections.Generic.GenericEqualityComparer`1[[System.String,
mscorlib]], mscorlib
- Name:
Entry: 8
Data:
- Name:
Entry: 12
Data: 1
- Name:
Entry: 7
Data:
- Name: $k
Entry: 1
Data: Vulpine
- Name: $v
Entry: 7
Data: 2|UdonSharp.Compiler.FieldDefinition, UdonSharp.Editor
- Name: <Name>k__BackingField
Entry: 1
Data: Vulpine
- Name: <UserType>k__BackingField
Entry: 7
Data: 3|System.RuntimeType, mscorlib
- Name:
Entry: 1
Data: UnityEngine.GameObject, UnityEngine.CoreModule
- Name:
Entry: 8
Data:
- Name: <SystemType>k__BackingField
Entry: 9
Data: 3
- 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: 4|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:
- Name:
Entry: 8
Data:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0c3431b6b9cbf3640bed35c6f9dbca77
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,19 @@
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
public class SecretVulpine : UdonSharpBehaviour
{
public GameObject Vulpine;
public override void Interact()
{
if (Vulpine != null)
{
Vulpine.SetActive(!Vulpine.activeSelf);
RequestSerialization();
}
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4b9393fee8dcb7c4e90a4f7b21518221
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: