Added Unity project files

This commit is contained in:
2026-06-07 16:58:24 +01:00
parent 3cc05d260b
commit 23bbcab156
3942 changed files with 453676 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{
"name": "ClientSimExample.Tests",
"references": [
"UnityEngine.TestRunner",
"UnityEditor.TestRunner",
"VRC.ClientSim",
"VRC.ClientSim.Tests",
"VRC.Udon"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [
"nunit.framework.dll",
"VRCSDKBase.dll",
"VRCSDK3.dll",
"VRC.Udon.Common.dll"
],
"autoReferenced": true,
"defineConstraints": [
"UNITY_INCLUDE_TESTS"
],
"versionDefines": [],
"noEngineReferences": false
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f5b3379596dbe024ba4dd73d23dc55bc
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 172e1d15d1891734c8889d45623277ca
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,225 @@
using System.Collections;
using System.IO;
using NUnit.Framework;
using UnityEditor;
using UnityEngine;
using UnityEngine.TestTools;
using UnityEngine.UI;
using VRC.SDK3.ClientSim;
using VRC.SDK3.ClientSim.Tests.WorldTests;
using VRC.Udon.Common;
namespace ClientSimTest.Examples
{
public class ClientSimWorldTestExampleScene : ClientSimWorldTestBase
{
private static readonly string _sceneName = "ClientSimWorldTestExample";
private static readonly string _samplesDirectory = Path.Combine("Assets", "Samples", "VRChat Client Simulator");
private static bool _sceneExists;
protected override ClientSimSettings GetTestSettings()
{
return new ClientSimSettings
{
enableClientSim = true,
initializationDelay = 0,
spawnPlayer = true,
deleteEditorOnly = false, // Ensure test helpers still exist in the scene.
localPlayerIsMaster = true,
};
}
protected override void SetupScene()
{
string[] guids = AssetDatabase.FindAssets($"t:scene {_sceneName}", new[] { _samplesDirectory });
if (guids.Length == 0)
{
_sceneExists = false;
return;
}
string scenePath = AssetDatabase.GUIDToAssetPath(guids[0]);
SceneAsset sceneAsset = AssetDatabase.LoadAssetAtPath<SceneAsset>(scenePath);
_sceneExists = sceneAsset != null;
if (_sceneExists)
{
LoadSceneFromPath(scenePath);
}
}
[SetUp]
public void CheckIfSceneExists()
{
Assert.IsTrue(_sceneExists, $"Failed to find Scene {_sceneName}! Please re-import the ClientSimWorldTestExample.");
}
// Test will go through the example scene. This scene is a small "puzzle" requiring multiple steps to reach the end area.
[UnityTest]
public IEnumerator TestExampleScene()
{
yield return WaitForClientSimStartup();
// Verify initial state of objects in the scene.
var testHelpers = Object.FindFirstObjectByType<ClientSimWorldTestObjectReferences>();
Assert.IsNotNull(testHelpers, "Could not find Test helper reference.");
// Assert that some objects are disabled.
Assert.IsFalse(testHelpers.menu.activeInHierarchy, "Station Menu is enabled when it should be disabled.");
Assert.IsFalse(testHelpers.endCredits.activeInHierarchy, "End Credits are enabled when it should be disabled.");
// Assert that some objects are enabled.
Assert.IsTrue(testHelpers.door1.activeInHierarchy, "Door 1 is disabled when it should be enabled.");
Assert.IsTrue(testHelpers.door2.activeInHierarchy, "Door 2 is disabled when it should be enabled.");
Assert.IsTrue(testHelpers.pickup.activeInHierarchy, "Pickup is disabled when it should be enabled.");
bool door1Activated;
string doorActivatedVariableName = "DoorOpen";
Assert.IsTrue(testHelpers.doorController1.TryGetProgramVariable(doorActivatedVariableName, out door1Activated), $"Door Controller udon program did not have variable named {doorActivatedVariableName}.");
Assert.IsFalse(door1Activated, "Door 1 controller has door activated when it should not be.");
// Begin test walkthrough for the world
// Close the menu before doing anything.
Helper.CloseMenu();
// Look at the station to try to enter it.
Helper.LookAtObject(testHelpers.station.transform);
// Wait for the station to be hovered, to know it can be interacted with.
yield return Helper.WaitUntilObjectHovered(testHelpers.station, HandType.RIGHT);
// Begin interact with station
Helper.TestInput.SetInputUseGrab(true);
yield return null;
// Verify that the player interacted with the station and entered it.
var lastInteract = Helper.GetLastInteractResults(HandType.RIGHT, true);
Assert.IsNotNull(lastInteract, "Station was not interacted with.");
Assert.IsTrue(lastInteract.interactObject == testHelpers.station, $"Last interacted object was not expected station: {lastInteract.interactObject}");
var enteredStation = Helper.GetLastEnteredStation(true);
Assert.IsNotNull(enteredStation, "Player did not enter the station.");
Assert.IsTrue(enteredStation.gameObject == testHelpers.station, $"Player did not enter the expected station: {enteredStation.gameObject}");
// Finish Interact with station
Helper.TestInput.SetInputUseGrab(false);
yield return null;
// Behaviour after entering the station should be to enable the menu. Check if menu is now enabled.
Assert.IsTrue(testHelpers.menu.activeInHierarchy, "Station Menu is not enabled after entering the station.");
// Get button object and look at it to begin interact.
var button = testHelpers.menu.GetComponentInChildren<Button>();
Helper.LookAtObject(button.transform);
// Wait for the menu canvas to be hovered.
yield return Helper.WaitUntilObjectHovered(testHelpers.menu, HandType.RIGHT);
// Begin interact with the button
Helper.TestInput.SetInputUseGrab(true);
yield return null;
// Finish Interact with the button
Helper.TestInput.SetInputUseGrab(false);
yield return null;
// UI objects require use down and use up to interact
// Verify button was pressed.
Assert.IsFalse(testHelpers.door1.activeInHierarchy, "Door 1 is still disabled after clicking the button.");
Assert.IsTrue(testHelpers.door2.activeInHierarchy, "Door 2 should still be disabled after clicking the button.");
// Get the variable from the udon program and verify it is now true.
Assert.IsTrue(testHelpers.doorController1.TryGetProgramVariable(doorActivatedVariableName, out door1Activated), $"Door Controller udon program did not have variable named {doorActivatedVariableName}.");
Assert.IsTrue(door1Activated, "Door 1 controller door is not activated after clicking the button.");
// Respawn to exit the station.
Helper.RespawnPlayer();
var exitedStation = Helper.GetLastExitedStation(true);
Assert.IsNotNull(exitedStation, "Player did not exit the station.");
Assert.IsTrue(exitedStation.gameObject == testHelpers.station, $"Player did not exit the expected station: {enteredStation.gameObject}");
// Menu should be closed after exiting the station.
Assert.IsFalse(testHelpers.menu.activeInHierarchy, "Station Menu is still enabled after exiting the station.");
// Walk through the door and in front of the pickup using the helper walk locations.
// Note that walking here is not important for this test and could be replaced with Teleportation.
Helper.TestInput.SetInputRun(true);
Transform[] path1 =
{
testHelpers.walkLocations[0],
testHelpers.walkLocations[1],
testHelpers.walkLocations[2]
};
yield return Helper.WalkThroughPoints(path1, "Player failed to walk through the door and to the pickup.", 2f);
// Look at the pickup to grab it.
Helper.LookAtObject(testHelpers.pickup.transform);
// Wait for the pickup to be hovered.
yield return Helper.WaitUntilObjectHovered(testHelpers.pickup, HandType.RIGHT);
// Grab the pickup
Helper.TestInput.SetInputUseGrab(true);
yield return null;
// Verify we grabbed the pickup
var lastPickup = Helper.GetLastPickupPickedUp(HandType.RIGHT, true);
Assert.IsNotNull(lastPickup, "Failed to grab pickup.");
Assert.IsTrue(lastPickup.gameObject == testHelpers.pickup, $"Object picked up was not the expected pickup. {lastPickup.gameObject}");
// Release grab since pickup is auto hold.
Helper.TestInput.SetInputUseGrab(false);
yield return null;
// Verify the pickup was not dropped after releasing grab.
lastPickup = Helper.GetLastPickupDropped(HandType.RIGHT, true);
Assert.IsNull(lastPickup, "Pickup should not have dropped after releasing grab.");
// Walk in front of next door.
Transform[] path2 =
{
testHelpers.walkLocations[3],
testHelpers.walkLocations[4],
};
yield return Helper.WalkThroughPoints(path2, "Player failed to walk back from pickup area into next door.", 3f);
// Path should have placed player within range of pickup detector. Expect that the pickup is now disabled and the second door is open.
lastPickup = Helper.GetLastPickupDropped(HandType.RIGHT, true);
Assert.IsNotNull(lastPickup, "Pickup was not dropped on entering pickup detection area.");
Assert.IsFalse(testHelpers.pickup.activeInHierarchy, "Pickup was not disabled after entering detection area.");
// Door should now be disabled.
Assert.IsFalse(testHelpers.door2.activeInHierarchy, "Door 2 should be disabled after pickup entered detection area.");
bool door2Activated;
Assert.IsTrue(testHelpers.doorController2.TryGetProgramVariable(doorActivatedVariableName, out door2Activated), $"Door 2 Controller udon program did not have variable named {doorActivatedVariableName}.");
Assert.IsTrue(door2Activated, "Door 2 controller door is not activated after pickup entered detection area.");
// Verify credits have not yet been enabled.
Assert.IsFalse(testHelpers.endCredits.activeInHierarchy, "End Credits are enabled after pickup detected when it should be disabled.");
// Walk into player detector to enable end credits
yield return Helper.WalkToPoint(testHelpers.walkLocations[5], "Player failed to walk to end area.");
Assert.IsTrue(testHelpers.endCredits.activeInHierarchy, "End Credits are not enabled after player walked to end area.");
// World has now been tested for one test case. It would be good to also verify other cases, such as player
// walking towards end credits door without the pickup to ensure the door doesn't open and the player can't
// walk through it.
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 51d872c6ae93cb746add3e8ec7a1d884
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
using UnityEngine;
using VRC.Udon;
namespace ClientSimTest.Examples
{
// This class is only to make getting references to objects in the scene easier.
// This can also be done without a dedicated MonoBehaviour and search the scene based on object names.
[AddComponentMenu("")]
public class ClientSimWorldTestObjectReferences : MonoBehaviour
{
public GameObject station;
public GameObject menu;
public GameObject pickup;
public GameObject endCredits;
public GameObject door1;
public GameObject door2;
public UdonBehaviour doorController1;
public UdonBehaviour doorController2;
public Transform[] walkLocations;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 72fa7b9862a2de7429941fa0de4390c2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0efaac32f27d1394296609d379fc6579
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,231 @@
%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: 4f11136daadff0b44ac2278a314682ab, type: 3}
m_Name: ClientSimTestDoorController
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: f79496a9218cf4e4e9180ef3acef31fc,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export DoorOpen\r\n .export Door\r\n
.sync DoorOpen, none\r\n \r\n __instance_0: %UnityEngineGameObject, this\r\n
__value_0: %SystemBoolean, null\r\n __name_0: %SystemString, null\r\n _old_DoorOpen:
%SystemBoolean, null\r\n __player_0: %VRCSDKBaseVRCPlayerApi, null\r\n
__obj_0: %UnityEngineGameObject, this\r\n __instance_1: %VRCUdonUdonBehaviour,
this\r\n __symbolName_0: %SystemString, null\r\n __value_1: %SystemObject,
null\r\n __Boolean_0: %SystemBoolean, null\r\n __instance_2: %VRCUdonUdonBehaviour,
this\r\n __message_0: %SystemObject, null\r\n __String_0: %SystemString,
null\r\n DoorOpen: %SystemBoolean, null\r\n Door: %UnityEngineGameObject,
this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _onVarChange_DoorOpen\r\n
\r\n _onVarChange_DoorOpen:\r\n \r\n PUSH, Door\r\n PUSH,
__instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, _old_DoorOpen\r\n
EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
JUMP, 0xFFFFFFFC\r\n \r\n .export _ToggleDoor\r\n \r\n _ToggleDoor:\r\n
\r\n PUSH, __player_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n
PUSH, __player_0\r\n PUSH, __obj_0\r\n EXTERN, \"VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid\"\r\n
PUSH, DoorOpen\r\n PUSH, __value_1\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n
PUSH, __instance_1\r\n PUSH, __symbolName_0\r\n PUSH, __value_1\r\n
EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n
PUSH, __instance_2\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid\"\r\n
PUSH, __String_0\r\n PUSH, __message_0\r\n COPY\r\n PUSH,
__message_0\r\n EXTERN, \"UnityEngineDebug.__Log__SystemObject__SystemVoid\"\r\n
JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Variable_SystemBoolean
uid: 27286f82-cb07-4ce4-a75b-511404179d38
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|DoorOpen
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Variable_UnityEngineGameObject
uid: 14d651ea-fc95-4c2e-8f18-d9949c64ddc2
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Door
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Event_OnVariableChange
uid: 4411cf70-1e08-4029-8568-8dfcf35c2581
position: {x: 69.59767, y: 231.26724}
nodeUIDs:
-
flowUIDs:
- 3d1d598f-524b-4970-9bbb-530ef4ed33b1
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|27286f82-cb07-4ce4-a75b-511404179d38
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: 93f70ea1-3e08-4be4-aecf-3ae180674cab
position: {x: 99.07581, y: 383.0314}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|14d651ea-fc95-4c2e-8f18-d9949c64ddc2
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 3d1d598f-524b-4970-9bbb-530ef4ed33b1
position: {x: 334.22464, y: 231.9165}
nodeUIDs:
- 93f70ea1-3e08-4be4-aecf-3ae180674cab|0
- 4411cf70-1e08-4029-8568-8dfcf35c2581|1
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Event_Custom
uid: 7f18b1ab-7965-42b9-9efa-005347490192
position: {x: 40, y: -164.06815}
nodeUIDs:
-
flowUIDs:
- f694e8d4-7680-4b10-9138-82ee8ee87c8d
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|_ToggleDoor
- fullName: Get_Variable
uid: 80f93808-4144-4191-91b4-0df92987f91d
position: {x: 406.86365, y: 13.829636}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|27286f82-cb07-4ce4-a75b-511404179d38
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean
uid: 5f199f80-2f5b-4815-abe4-1413054c8bfd
position: {x: 579.87494, y: 8.954575}
nodeUIDs:
- 80f93808-4144-4191-91b4-0df92987f91d|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Set_Variable
uid: 7a0560fd-94a3-43fd-a74e-ea287fbeb073
position: {x: 784.97723, y: -163.0795}
nodeUIDs:
-
- 5f199f80-2f5b-4815-abe4-1413054c8bfd|0
-
flowUIDs:
- 18a2206e-3b6e-4d58-9121-c7066bb3a479
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|27286f82-cb07-4ce4-a75b-511404179d38
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__RequestSerialization__SystemVoid
uid: 18a2206e-3b6e-4d58-9121-c7066bb3a479
position: {x: 1033.034, y: -162.09076}
nodeUIDs:
-
flowUIDs:
- 7a7b3230-4cfd-4c65-afde-958cc02f6737
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCSDKBaseNetworking.__SetOwner__VRCSDKBaseVRCPlayerApi_UnityEngineGameObject__SystemVoid
uid: f694e8d4-7680-4b10-9138-82ee8ee87c8d
position: {x: 354.34125, y: -165.77284}
nodeUIDs:
- 4778a8cc-30f9-4698-9274-f6ec1217ad00|0
-
flowUIDs:
- 7a0560fd-94a3-43fd-a74e-ea287fbeb073
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
uid: 4778a8cc-30f9-4698-9274-f6ec1217ad00
position: {x: 149.93237, y: -40.147667}
nodeUIDs: []
flowUIDs: []
nodeValues: []
- fullName: UnityEngineDebug.__Log__SystemObject__SystemVoid
uid: 7a7b3230-4cfd-4c65-afde-958cc02f6737
position: {x: 1320.0198, y: -162.18738}
nodeUIDs:
- 3c4f2cef-5f53-4582-9649-0077dd192e75|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Const_SystemString
uid: 3c4f2cef-5f53-4582-9649-0077dd192e75
position: {x: 1065.5815, y: 18.031773}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|DoorToggled
updateOrder: 0
graphElementData:
- type: 5
uid: ab8a90dd-c716-49de-bb75-71fb0bedbea5
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}'
viewTransform:
position: {x: -36, y: 218}
scale: 0.65751624
version: 1.0.0
showAssembly: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 440491473b65d6242807d9187fad57f8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,340 @@
%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: 4f11136daadff0b44ac2278a314682ab, type: 3}
m_Name: ClientSimTestPickupDetector
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 814cee1586beadc47b789d2082d40455,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export Pickup\r\n .export OnDetectUdon\r\n
.export OnDetectEvent\r\n \r\n __Boolean_0: %SystemBoolean, null\r\n
__instance_0: %UnityEngineGameObject, this\r\n __other_0: %SystemObject, null\r\n
__instance_1: %UnityEngineCollider, null\r\n onTriggerEnterOther: %UnityEngineCollider,
null\r\n __Boolean_1: %SystemBoolean, null\r\n __instance_2: %VRCSDKBaseVRCPlayerApi,
null\r\n __obj_0: %UnityEngineGameObject, this\r\n __instance_3: %VRCUdonUdonBehaviour,
this\r\n __eventName_0: %SystemString, null\r\n __instance_4: %VRCSDK3ComponentsVRCPickup,
null\r\n __instance_5: %UnityEngineGameObject, this\r\n __type_0: %SystemString,
null\r\n __instance_6: %UnityEngineGameObject, this\r\n __value_0: %SystemBoolean,
null\r\n __instance_7: %UnityEngineGameObject, this\r\n __value_1: %SystemBoolean,
null\r\n __GameObject_0: %UnityEngineGameObject, this\r\n Pickup: %UnityEngineGameObject,
this\r\n OnDetectUdon: %VRCUdonUdonBehaviour, this\r\n OnDetectEvent: %SystemString,
null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _onTriggerEnter\r\n
\r\n _onTriggerEnter:\r\n \r\n PUSH, onTriggerEnterOther\r\n
PUSH, __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n PUSH,
__instance_0\r\n EXTERN, \"UnityEngineCollider.__get_gameObject__UnityEngineGameObject\"\r\n
PUSH, Pickup\r\n PUSH, __other_0\r\n COPY\r\n PUSH, __instance_0\r\n
PUSH, __other_0\r\n PUSH, __Boolean_0\r\n EXTERN, \"UnityEngineGameObject.__Equals__SystemObject__SystemBoolean\"\r\n
PUSH, __Boolean_0\r\n JUMP_IF_FALSE, 0x000001B0\r\n PUSH, __instance_2\r\n
EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n
PUSH, Pickup\r\n PUSH, __obj_0\r\n COPY\r\n PUSH, __instance_2\r\n
PUSH, __obj_0\r\n PUSH, __Boolean_1\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__IsOwner__UnityEngineGameObject__SystemBoolean\"\r\n
PUSH, __Boolean_1\r\n JUMP_IF_FALSE, 0x000001A8\r\n PUSH, OnDetectUdon\r\n
PUSH, __instance_3\r\n COPY\r\n PUSH, OnDetectEvent\r\n
PUSH, __eventName_0\r\n COPY\r\n PUSH, __instance_3\r\n
PUSH, __eventName_0\r\n EXTERN, \"VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid\"\r\n
PUSH, Pickup\r\n PUSH, __instance_5\r\n COPY\r\n PUSH, __instance_5\r\n
PUSH, __type_0\r\n PUSH, __instance_4\r\n EXTERN, \"UnityEngineGameObject.__GetComponent__SystemString__UnityEngineComponent\"\r\n
PUSH, __instance_4\r\n EXTERN, \"VRCSDK3ComponentsVRCPickup.__Drop__SystemVoid\"\r\n
PUSH, Pickup\r\n PUSH, __instance_6\r\n COPY\r\n PUSH, __instance_6\r\n
PUSH, __value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
PUSH, __GameObject_0\r\n PUSH, __instance_7\r\n COPY\r\n
PUSH, __instance_7\r\n PUSH, __value_1\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
JUMP, 0x000001A8\r\n JUMP, 0x000001B0\r\n JUMP, 0xFFFFFFFC\r\n
\r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Variable_UnityEngineGameObject
uid: 957b33d3-b6c5-46a5-9a1e-175db8d2e448
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Pickup
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Event_OnTriggerEnter
uid: 4153dcb8-d48e-490b-9a6f-9b79236d7c70
position: {x: 68.85714, y: 37.862965}
nodeUIDs: []
flowUIDs:
- 36eafe42-a48a-4285-afdc-89a2c4c3035d
nodeValues: []
- fullName: UnityEngineCollider.__get_gameObject__UnityEngineGameObject
uid: 66b517a4-b0ee-4d47-8d32-8d3c6f9da166
position: {x: 377.02335, y: 116.62681}
nodeUIDs:
- 4153dcb8-d48e-490b-9a6f-9b79236d7c70|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__Equals__SystemObject__SystemBoolean
uid: fd8a4ae6-123f-40a0-83e3-5f2525ae7ea8
position: {x: 614.15717, y: 119.811554}
nodeUIDs:
- 66b517a4-b0ee-4d47-8d32-8d3c6f9da166|0
- 49f5a5fe-ec3c-47fa-b426-d08bc97d0b64|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: 49f5a5fe-ec3c-47fa-b426-d08bc97d0b64
position: {x: 398.1371, y: 208.76389}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|957b33d3-b6c5-46a5-9a1e-175db8d2e448
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Branch
uid: 36eafe42-a48a-4285-afdc-89a2c4c3035d
position: {x: 794.5628, y: 40.61225}
nodeUIDs:
- fd8a4ae6-123f-40a0-83e3-5f2525ae7ea8|0
flowUIDs:
- 96ec7d73-8900-4a04-98bf-f679820a7051
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: b5d8dfb0-d3e7-4743-9f51-673d546baed2
position: {x: 1676.1007, y: 227.8395}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|957b33d3-b6c5-46a5-9a1e-175db8d2e448
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__GetComponent__SystemString__UnityEngineComponent
uid: 3cf18024-85ca-4093-aef7-78b3a664aff8
position: {x: 1899.1007, y: 205.5395}
nodeUIDs:
- b5d8dfb0-d3e7-4743-9f51-673d546baed2|0
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|VRCPickup
- fullName: VRCSDK3ComponentsVRCPickup.__Drop__SystemVoid
uid: 167ce189-2e09-4664-a2ac-0e83b8057827
position: {x: 2120.66, y: 46.499557}
nodeUIDs:
- 3cf18024-85ca-4093-aef7-78b3a664aff8|0
flowUIDs:
- 005ed319-2909-430c-ac88-b548928c6283
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Variable_VRCUdonCommonInterfacesIUdonEventReceiver
uid: fb129dc1-ef6b-435e-ab8b-a1838b9fed24
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnDetectUdon
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Variable_SystemString
uid: 6d6f5408-eb8f-4aa2-bdeb-99162bfd3909
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|OnDetectEvent
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Branch
uid: 96ec7d73-8900-4a04-98bf-f679820a7051
position: {x: 1113.6521, y: 43.145134}
nodeUIDs:
- f4133835-4863-4b11-98e4-e4bc12a66bb5|0
flowUIDs:
- d6fbcb8a-3b08-4a49-a918-c180afa8f248
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
uid: 8d6ee194-1b16-44d9-a91d-f72c07b64a0c
position: {x: 620.5765, y: 313.2068}
nodeUIDs: []
flowUIDs: []
nodeValues: []
- fullName: VRCSDKBaseVRCPlayerApi.__IsOwner__UnityEngineGameObject__SystemBoolean
uid: f4133835-4863-4b11-98e4-e4bc12a66bb5
position: {x: 908.4573, y: 295.88474}
nodeUIDs:
- 8d6ee194-1b16-44d9-a91d-f72c07b64a0c|0
- dd8ff1d8-c7c4-42c0-bcbd-2d556d973464|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: dd8ff1d8-c7c4-42c0-bcbd-2d556d973464
position: {x: 610.3778, y: 414.69196}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|957b33d3-b6c5-46a5-9a1e-175db8d2e448
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: f74ae947-68d0-45ad-8f0f-5238138bfbf9
position: {x: 1298.5386, y: 174.54036}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|fb129dc1-ef6b-435e-ab8b-a1838b9fed24
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: 1e5a6911-6c24-401a-b97e-2dab2356f307
position: {x: 1333.5387, y: 274.5404}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|6d6f5408-eb8f-4aa2-bdeb-99162bfd3909
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SendCustomEvent__SystemString__SystemVoid
uid: d6fbcb8a-3b08-4a49-a918-c180afa8f248
position: {x: 1598.5386, y: 59.54035}
nodeUIDs:
- f74ae947-68d0-45ad-8f0f-5238138bfbf9|0
- 1e5a6911-6c24-401a-b97e-2dab2356f307|0
flowUIDs:
- 167ce189-2e09-4664-a2ac-0e83b8057827
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: a2cfa503-74e7-4f14-8a8c-4bfaec31d751
position: {x: 2281.4348, y: 150.61711}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|957b33d3-b6c5-46a5-9a1e-175db8d2e448
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 005ed319-2909-430c-ac88-b548928c6283
position: {x: 2498.9302, y: 47.486546}
nodeUIDs:
- a2cfa503-74e7-4f14-8a8c-4bfaec31d751|0
-
flowUIDs:
- 87aa76b5-79b8-4853-8aaf-312f198b2f5b
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 87aa76b5-79b8-4853-8aaf-312f198b2f5b
position: {x: 2746.7766, y: 47.0568}
nodeUIDs:
- 6486eb84-3a6d-4470-bc1d-db29c1cb37d2|0
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Const_This
uid: 6486eb84-3a6d-4470-bc1d-db29c1cb37d2
position: {x: 2608.0288, y: 187.02283}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
updateOrder: 0
graphElementData:
- type: 5
uid: ab8a90dd-c716-49de-bb75-71fb0bedbea5
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}'
viewTransform:
position: {x: -607.3333, y: 291.33334}
scale: 0.375937
version: 1.0.0
showAssembly: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a06cce0770f381241a0ecfbb49a62690
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,151 @@
%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: 4f11136daadff0b44ac2278a314682ab, type: 3}
m_Name: ClientSimTestPlayerDetector
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 90694f8bb1ffb0e48975ab46c6498cd4,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export Credits\r\n \r\n __Boolean_0:
%SystemBoolean, null\r\n __VRCPlayerApi_0: %VRCSDKBaseVRCPlayerApi, null\r\n
onPlayerTriggerEnterPlayer: %VRCSDKBaseVRCPlayerApi, null\r\n __instance_0:
%UnityEngineGameObject, this\r\n __value_0: %SystemBoolean, null\r\n __instance_1:
%UnityEngineGameObject, this\r\n __value_1: %SystemBoolean, null\r\n Credits:
%UnityEngineGameObject, this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export
_onPlayerTriggerEnter\r\n \r\n _onPlayerTriggerEnter:\r\n \r\n
PUSH, onPlayerTriggerEnterPlayer\r\n PUSH, __VRCPlayerApi_0\r\n
COPY\r\n PUSH, __VRCPlayerApi_0\r\n PUSH, __Boolean_0\r\n
EXTERN, \"VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean\"\r\n PUSH,
__Boolean_0\r\n JUMP_IF_FALSE, 0x00000070\r\n PUSH, Credits\r\n
PUSH, __instance_0\r\n COPY\r\n PUSH, __instance_0\r\n PUSH,
__value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
JUMP, 0x00000070\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n
\r\n _start:\r\n \r\n PUSH, Credits\r\n PUSH, __instance_1\r\n
COPY\r\n PUSH, __instance_1\r\n PUSH, __value_1\r\n EXTERN,
\"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n JUMP,
0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Variable_UnityEngineGameObject
uid: dfa77442-d5a2-407a-89dd-8b6a6e112368
position: {x: -773.80884, y: -61.633717}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Credits
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Event_OnPlayerTriggerEnter
uid: 5f4c3890-c452-4e2b-87d9-4f7ff1979fb1
position: {x: 190.61769, y: -11.999998}
nodeUIDs: []
flowUIDs:
- 864f6a99-75ea-4b76-94d7-708afaa37ef6
nodeValues: []
- fullName: VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean
uid: 88109fad-9523-4d50-a653-ac51235a5e08
position: {x: 460.06378, y: 58.921955}
nodeUIDs:
- 5f4c3890-c452-4e2b-87d9-4f7ff1979fb1|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Branch
uid: 864f6a99-75ea-4b76-94d7-708afaa37ef6
position: {x: 614.11316, y: -13.3264065}
nodeUIDs:
- 88109fad-9523-4d50-a653-ac51235a5e08|0
flowUIDs:
- 534f53aa-ae11-4924-b3d7-6e286488ff1f
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: 8b5b4271-e478-483d-a272-0d24be049d49
position: {x: 655.48, y: 128.51996}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|dfa77442-d5a2-407a-89dd-8b6a6e112368
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 534f53aa-ae11-4924-b3d7-6e286488ff1f
position: {x: 853.65393, y: -11.645001}
nodeUIDs:
- 8b5b4271-e478-483d-a272-0d24be049d49|0
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- fullName: Event_Start
uid: 88fb215d-ceb9-4958-8779-e0f125da523d
position: {x: 349.82, y: -281.35007}
nodeUIDs: []
flowUIDs:
- 7a39c39f-8db8-421f-85e9-29e02466abd8
nodeValues: []
- fullName: Get_Variable
uid: 57a23c6c-29f8-4d43-9256-0d37177fb254
position: {x: 355.875, y: -184.41756}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|dfa77442-d5a2-407a-89dd-8b6a6e112368
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 7a39c39f-8db8-421f-85e9-29e02466abd8
position: {x: 577.13, y: -279.645}
nodeUIDs:
- 57a23c6c-29f8-4d43-9256-0d37177fb254
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
updateOrder: 0
graphElementData: []
viewTransform:
position: {x: 10, y: 528}
scale: 0.7561437
version: 1.0.0
showAssembly: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 248912e5b01f58343966653da4f53732
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,237 @@
%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: 4f11136daadff0b44ac2278a314682ab, type: 3}
m_Name: ClientSimTestStation
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: 54bc1dbbddf26804fa787ab9c2239963,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export Menu\r\n \r\n __instance_0:
%VRCSDKBaseVRCPlayerApi, null\r\n __Boolean_0: %SystemBoolean, null\r\n
__VRCPlayerApi_0: %VRCSDKBaseVRCPlayerApi, null\r\n onStationEnteredPlayer:
%VRCSDKBaseVRCPlayerApi, null\r\n __instance_1: %UnityEngineGameObject, this\r\n
__value_0: %SystemBoolean, null\r\n __Boolean_1: %SystemBoolean, null\r\n
__VRCPlayerApi_1: %VRCSDKBaseVRCPlayerApi, null\r\n onStationExitedPlayer:
%VRCSDKBaseVRCPlayerApi, null\r\n __instance_2: %UnityEngineGameObject, this\r\n
__value_1: %SystemBoolean, null\r\n __instance_3: %UnityEngineGameObject,
this\r\n __value_2: %SystemBoolean, null\r\n Menu: %UnityEngineGameObject,
this\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _interact\r\n
\r\n _interact:\r\n \r\n PUSH, __instance_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n
PUSH, __instance_0\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__UseAttachedStation__SystemVoid\"\r\n
JUMP, 0xFFFFFFFC\r\n \r\n .export _onStationEntered\r\n \r\n _onStationEntered:\r\n
\r\n PUSH, onStationEnteredPlayer\r\n PUSH, __VRCPlayerApi_0\r\n
COPY\r\n PUSH, __VRCPlayerApi_0\r\n PUSH, __Boolean_0\r\n
EXTERN, \"VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean\"\r\n PUSH,
__Boolean_0\r\n JUMP_IF_FALSE, 0x00000098\r\n PUSH, Menu\r\n
PUSH, __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n PUSH,
__value_0\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
JUMP, 0x00000098\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _onStationExited\r\n
\r\n _onStationExited:\r\n \r\n PUSH, onStationExitedPlayer\r\n
PUSH, __VRCPlayerApi_1\r\n COPY\r\n PUSH, __VRCPlayerApi_1\r\n
PUSH, __Boolean_1\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean\"\r\n
PUSH, __Boolean_1\r\n JUMP_IF_FALSE, 0x00000110\r\n PUSH, Menu\r\n
PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n PUSH,
__value_1\r\n EXTERN, \"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n
JUMP, 0x00000110\r\n JUMP, 0xFFFFFFFC\r\n \r\n .export _start\r\n
\r\n _start:\r\n \r\n PUSH, Menu\r\n PUSH, __instance_3\r\n
COPY\r\n PUSH, __instance_3\r\n PUSH, __value_2\r\n EXTERN,
\"UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid\"\r\n JUMP,
0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Event_Interact
uid: 92c10b4a-02c8-44ba-94d0-5bfa18ec840a
position: {x: 235.9796, y: 55.09814}
nodeUIDs: []
flowUIDs:
- 07e72c2d-59be-4344-aa61-74ea01be11f8
nodeValues: []
- fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
uid: 4be46e74-03cc-418c-add3-79289d5e0bc6
position: {x: 185.02736, y: 167.20476}
nodeUIDs: []
flowUIDs: []
nodeValues: []
- fullName: VRCSDKBaseVRCPlayerApi.__UseAttachedStation__SystemVoid
uid: 07e72c2d-59be-4344-aa61-74ea01be11f8
position: {x: 437.0274, y: 107.204735}
nodeUIDs:
- 4be46e74-03cc-418c-add3-79289d5e0bc6
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Event_OnStationEntered
uid: d75f17c0-cdd7-4cd3-918b-8eb2d30c4c14
position: {x: 23.010023, y: 309.33002}
nodeUIDs: []
flowUIDs:
- 249f9b8a-40c4-48db-82af-b99513b0f170
nodeValues: []
- fullName: Event_OnStationExited
uid: b62e4e4d-0285-4949-a988-95ddbb8571e8
position: {x: 61.542763, y: 613.1205}
nodeUIDs: []
flowUIDs:
- f237bb1c-c5c3-443e-bb90-b82dde9691fa
nodeValues: []
- fullName: Variable_UnityEngineGameObject
uid: cc0a9263-10d6-4716-99d0-1374706dc7ef
position: {x: -973.47015, y: -1170.3805}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|Menu
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|none
- fullName: Get_Variable
uid: 3692574f-a61e-4d5b-adf2-d9a70a4acfaf
position: {x: 426.42743, y: 474.26004}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|cc0a9263-10d6-4716-99d0-1374706dc7ef
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 9d911d37-ac11-4743-bb22-37dcb4bc215c
position: {x: 650.7191, y: 346.80753}
nodeUIDs:
- 3692574f-a61e-4d5b-adf2-d9a70a4acfaf|0
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|True
- fullName: VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean
uid: 994e7819-0789-4c7f-83a1-540d80bd3e5c
position: {x: 249.8725, y: 389.77252}
nodeUIDs:
- d75f17c0-cdd7-4cd3-918b-8eb2d30c4c14|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Branch
uid: 249f9b8a-40c4-48db-82af-b99513b0f170
position: {x: 440.29007, y: 308.36255}
nodeUIDs:
- 994e7819-0789-4c7f-83a1-540d80bd3e5c|0
flowUIDs:
- 9d911d37-ac11-4743-bb22-37dcb4bc215c
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: VRCSDKBaseVRCPlayerApi.__get_isLocal__SystemBoolean
uid: 0ad354ab-f757-4296-9237-ce5a1109d24c
position: {x: 271.54276, y: 713.12054}
nodeUIDs:
- b62e4e4d-0285-4949-a988-95ddbb8571e8|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Branch
uid: f237bb1c-c5c3-443e-bb90-b82dde9691fa
position: {x: 430.5428, y: 614.1205}
nodeUIDs:
- 0ad354ab-f757-4296-9237-ce5a1109d24c
flowUIDs:
- b5f1741d-0c89-4963-8260-3654f8115c79
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: b5f1741d-0c89-4963-8260-3654f8115c79
position: {x: 651.5428, y: 617.1205}
nodeUIDs:
- b6798804-cbca-4608-9f64-d842ee8970af|0
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: b6798804-cbca-4608-9f64-d842ee8970af
position: {x: 442.54272, y: 775.1205}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|cc0a9263-10d6-4716-99d0-1374706dc7ef
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Event_Start
uid: b26ca79a-b260-4fb0-86aa-f142f4815698
position: {x: 223.09534, y: -275.9484}
nodeUIDs: []
flowUIDs:
- 793e5732-d2b0-43fc-99af-374a69582f4c
nodeValues: []
- fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid
uid: 793e5732-d2b0-43fc-99af-374a69582f4c
position: {x: 428.0953, y: -277.94836}
nodeUIDs:
- 9f5abb66-2bfa-4e85-b387-36b9ee824b55
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089|False
- fullName: Get_Variable
uid: 9f5abb66-2bfa-4e85-b387-36b9ee824b55
position: {x: 219.09532, y: -119.94834}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|cc0a9263-10d6-4716-99d0-1374706dc7ef
- unityObjectValue: {fileID: 0}
stringValue:
updateOrder: 0
graphElementData: []
viewTransform:
position: {x: 264.66666, y: 346.66666}
scale: 0.49717674
version: 1.0.0
showAssembly: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8b657cffa75c65c488e0abcd4c5f65e2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant: