Starting enhancements for the Lightning Round intro.

This commit is contained in:
2026-05-09 01:47:37 -04:00
parent 2d3a18c897
commit 6686be5e20
12 changed files with 1206 additions and 251 deletions
@@ -0,0 +1,53 @@
%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: LightningStrikeStation
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: ee5533ee90ad3ce4ea90c81e9c669999,
type: 2}
udonAssembly:
assemblyError:
sourceCsScript: {fileID: 11500000, guid: ce731db293dee844783318d13056d986, type: 3}
scriptVersion: 2
compiledVersion: 2
behaviourSyncMode: 1
hasInteractEvent: 1
scriptID: 6862233785912785249
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: 0
- Name:
Entry: 13
Data:
- Name:
Entry: 8
Data:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b0332e5ae66147046b354fa945ccc925
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,18 @@
using UdonSharp;
using VRC.SDKBase;
[UdonBehaviourSyncMode(BehaviourSyncMode.None)]
public class LightningStrikeStation : UdonSharpBehaviour
{
public override void Interact()
{
GetComponent<VRCStation>().UseStation(Networking.LocalPlayer);
SendCustomEventDelayedSeconds(nameof(RemoveFromStation), 2.0f);
}
public void RemoveFromStation()
{
GetComponent<VRCStation>().ExitStation(Networking.LocalPlayer);
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ce731db293dee844783318d13056d986
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: