diff options
Diffstat (limited to 'VRCSDK3Worlds/Assets/Scripts')
16 files changed, 1548 insertions, 0 deletions
diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Animator.controller b/VRCSDK3Worlds/Assets/Scripts/Door Animator.controller new file mode 100644 index 00000000..8b3b522b --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Animator.controller @@ -0,0 +1,159 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1101 &-6624696549083669135 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: IsOpen + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 6458757043973214596} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &-3303668186162539715 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Door Closed + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: -6624696549083669135} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: c3009267dbfcdf447b423b059e0c679b, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1101 &-2447735652200513689 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 2 + m_ConditionEvent: IsOpen + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: -3303668186162539715} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Door Animator + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: IsOpen + m_Type: 4 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 0 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 2213237415957304912} + m_Mask: {fileID: 0} + m_Motions: [] + m_Behaviours: [] + m_BlendingMode: 0 + m_SyncedLayerIndex: -1 + m_DefaultWeight: 0 + m_IKPass: 0 + m_SyncedLayerAffectsTiming: 0 + m_Controller: {fileID: 9100000} +--- !u!1107 &2213237415957304912 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: -3303668186162539715} + m_Position: {x: 250, y: 20, z: 0} + - serializedVersion: 1 + m_State: {fileID: 6458757043973214596} + m_Position: {x: 250, y: 130, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 50, y: 20, z: 0} + m_EntryPosition: {x: 50, y: 120, z: 0} + m_ExitPosition: {x: 800, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: -3303668186162539715} +--- !u!1102 &6458757043973214596 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Door Open + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: -2447735652200513689} + m_StateMachineBehaviours: [] + m_Position: {x: 50, y: 50, z: 0} + m_IKOnFeet: 0 + m_WriteDefaultValues: 1 + m_Mirror: 0 + m_SpeedParameterActive: 0 + m_MirrorParameterActive: 0 + m_CycleOffsetParameterActive: 0 + m_TimeParameterActive: 0 + m_Motion: {fileID: 7400000, guid: eee68f2a8a0ac3845affbc3f4ff4f9aa, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Animator.controller.meta b/VRCSDK3Worlds/Assets/Scripts/Door Animator.controller.meta new file mode 100644 index 00000000..4f9b7a80 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Animator.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6e9a69aafe02b3140a2cbb317c580a9e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Closed.anim b/VRCSDK3Worlds/Assets/Scripts/Door Closed.anim new file mode 100644 index 00000000..c2e22192 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Closed.anim @@ -0,0 +1,315 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Door Closed + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.083333336 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: VisualSceneNode + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.083333336 + value: {x: 0, y: 0, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: VisualSceneNode + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 327008063 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 327008063 + attribute: 4 + script: {fileID: 0} + typeID: 4 + customType: 4 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.083333336 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.x + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.y + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.z + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.083333336 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Closed.anim.meta b/VRCSDK3Worlds/Assets/Scripts/Door Closed.anim.meta new file mode 100644 index 00000000..16b2bd18 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Closed.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: c3009267dbfcdf447b423b059e0c679b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Controller.asset b/VRCSDK3Worlds/Assets/Scripts/Door Controller.asset new file mode 100644 index 00000000..173fdcaf --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Controller.asset @@ -0,0 +1,118 @@ +%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: Door Controller + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: c438919ce2ef6ab43a1ec586451ca648, + type: 2} + udonAssembly: ".data_start\r\n\r\n \r\n __instance_0: %UnityEngineAnimator, + null\r\n __name_0: %SystemString, null\r\n __value_0: %SystemBoolean, null\r\n + __Type_0: %SystemType, null\r\n __Boolean_0: %SystemBoolean, null\r\n __instance_2: + %UnityEngineAnimator, null\r\n __name_1: %SystemString, null\r\n __instance_1: + %UnityEngineGameObject, this\r\n __type_0: %SystemType, null\r\n __GameObject_0: + %UnityEngineGameObject, this\r\n __Type_1: %SystemType, null\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, __GameObject_0\r\n + PUSH, __instance_1\r\n COPY\r\n PUSH, __Type_0\r\n PUSH, + __type_0\r\n COPY\r\n PUSH, __instance_1\r\n PUSH, __type_0\r\n + PUSH, __instance_0\r\n EXTERN, \"UnityEngineGameObject.__GetComponentInParent__SystemType__UnityEngineComponent\"\r\n + PUSH, __GameObject_0\r\n PUSH, __instance_1\r\n COPY\r\n + PUSH, __Type_1\r\n PUSH, __type_0\r\n COPY\r\n PUSH, __instance_0\r\n + PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_0\r\n PUSH, + __name_1\r\n PUSH, __Boolean_0\r\n EXTERN, \"UnityEngineAnimator.__GetBool__SystemString__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n PUSH, __value_0\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\r\n + PUSH, __instance_0\r\n PUSH, __name_0\r\n PUSH, __value_0\r\n + EXTERN, \"UnityEngineAnimator.__SetBool__SystemString_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: aa81014b-879d-4027-ae39-906626aa3b51 + position: {x: 830, y: 119} + nodeUIDs: [] + flowUIDs: + - 5453c0c0-193e-4a02-b614-b533ee7ec17d + nodeValues: [] + - fullName: UnityEngineAnimator.__GetBool__SystemString__SystemBoolean + uid: bc91d943-7626-410e-991a-9296cc9d7af1 + position: {x: 431, y: 235} + nodeUIDs: + - 2b5c8d81-67c4-4963-9090-d5ba4a979b58|0 + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|IsOpen + - fullName: UnityEngineAnimator.__SetBool__SystemString_SystemBoolean__SystemVoid + uid: 5453c0c0-193e-4a02-b614-b533ee7ec17d + position: {x: 954, y: 111} + nodeUIDs: + - 2b5c8d81-67c4-4963-9090-d5ba4a979b58|0 + - + - e66b0125-b97e-4c03-b98d-5719fbbf11be|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|IsOpen + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean + uid: e66b0125-b97e-4c03-b98d-5719fbbf11be + position: {x: 753, y: 243} + nodeUIDs: + - bc91d943-7626-410e-991a-9296cc9d7af1|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Const_This + uid: 7329179a-f18c-49e1-b8b6-a54fdcd44510 + position: {x: 353, y: 52} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineGameObject.__GetComponentInParent__SystemType__UnityEngineComponent + uid: 2b5c8d81-67c4-4963-9090-d5ba4a979b58 + position: {x: 519, y: 83} + nodeUIDs: + - 7329179a-f18c-49e1-b8b6-a54fdcd44510|0 + - 32aa9c41-730f-4ca2-832e-49ecc268f0cf|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Type_UnityEngineAnimator + uid: 32aa9c41-730f-4ca2-832e-49ecc268f0cf + position: {x: 230, y: 156} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: -114, y: 142} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Controller.asset.meta b/VRCSDK3Worlds/Assets/Scripts/Door Controller.asset.meta new file mode 100644 index 00000000..88f4eb40 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Controller.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: bb2ce369913aa764397a739f2c1e24e5 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Open.anim b/VRCSDK3Worlds/Assets/Scripts/Door Open.anim new file mode 100644 index 00000000..0bfd4658 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Open.anim @@ -0,0 +1,315 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Door Open + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: 0, y: -90, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.016666668 + value: {x: 0, y: -90, z: 0} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: VisualSceneNode + m_PositionCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: {x: -0.00786, y: 0, z: 0.00857} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + - serializedVersion: 3 + time: 0.016666668 + value: {x: -0.00786, y: 0, z: 0.00857} + inSlope: {x: 0, y: 0, z: 0} + outSlope: {x: 0, y: 0, z: 0} + tangentMode: 0 + weightedMode: 0 + inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + path: VisualSceneNode + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 327008063 + attribute: 1 + script: {fileID: 0} + typeID: 4 + customType: 0 + isPPtrCurve: 0 + - serializedVersion: 2 + path: 327008063 + attribute: 4 + script: {fileID: 0} + typeID: 4 + customType: 4 + isPPtrCurve: 0 + pptrCurveMapping: [] + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + m_OrientationOffsetY: 0 + m_Level: 0 + m_CycleOffset: 0 + m_HasAdditiveReferencePose: 0 + m_LoopTime: 1 + m_LoopBlend: 0 + m_LoopBlendOrientation: 0 + m_LoopBlendPositionY: 0 + m_LoopBlendPositionXZ: 0 + m_KeepOriginalOrientation: 0 + m_KeepOriginalPositionY: 1 + m_KeepOriginalPositionXZ: 0 + m_HeightFromFeet: 0 + m_Mirror: 0 + m_EditorCurves: + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: -0.00786 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: -0.00786 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.x + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.y + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0.00857 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: 0.00857 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalPosition.z + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.x + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: -90 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: -90 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.y + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 0.016666668 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 136 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: localEulerAnglesRaw.z + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + m_EulerEditorCurves: + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.x + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.y + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + - curve: + serializedVersion: 2 + m_Curve: [] + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + attribute: m_LocalEulerAngles.z + path: VisualSceneNode + classID: 4 + script: {fileID: 0} + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_Events: [] diff --git a/VRCSDK3Worlds/Assets/Scripts/Door Open.anim.meta b/VRCSDK3Worlds/Assets/Scripts/Door Open.anim.meta new file mode 100644 index 00000000..b2cd1fc4 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Door Open.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: eee68f2a8a0ac3845affbc3f4ff4f9aa +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/HQ Mirror Toggle.asset b/VRCSDK3Worlds/Assets/Scripts/HQ Mirror Toggle.asset new file mode 100644 index 00000000..cfe4654b --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/HQ Mirror Toggle.asset @@ -0,0 +1,166 @@ +%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: HQ Mirror Toggle + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: d62aada8b0691494c99063728ccabd82, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export LQMirror\r\n .export HQMirror\r\n + \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 __Boolean_0: %SystemBoolean, null\r\n __instance_2: %UnityEngineGameObject, + this\r\n LQMirror: %UnityEngineGameObject, this\r\n HQMirror: %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, LQMirror\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 PUSH, + HQMirror\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, HQMirror\r\n + PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, + __Boolean_0\r\n EXTERN, \"UnityEngineGameObject.__get_activeInHierarchy__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n PUSH, __value_1\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\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: 356344a0-d4a5-45ab-8805-a0edef54ae4d + position: {x: -414.5, y: 10.539978} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|LQMirror + - 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_UnityEngineGameObject + uid: a59b1164-8b81-4f62-bc09-4b254546ba8b + position: {x: -414.5, y: 10.539978} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|HQMirror + - 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: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean + uid: 5de311fc-2acb-4c1e-b5d5-ef188ed63da4 + position: {x: 2215.9204, y: 180.84851} + nodeUIDs: + - 55222fef-9d13-4ccf-b24a-59107a1d3e8b + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: UnityEngineGameObject.__get_activeInHierarchy__SystemBoolean + uid: 55222fef-9d13-4ccf-b24a-59107a1d3e8b + position: {x: 2215.9204, y: 268.1285} + nodeUIDs: + - eed71ff0-c46b-435c-bd48-af65f457b51e + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: 50943874-0a06-4c02-a730-4bfccb9e1424 + position: {x: 2216.9204, y: 28.528526} + nodeUIDs: + - eed71ff0-c46b-435c-bd48-af65f457b51e + - 5de311fc-2acb-4c1e-b5d5-ef188ed63da4 + flowUIDs: [] + 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: 2c627ded-68ae-4b7d-81e1-82905134b95f + position: {x: 2030.9204, y: 26.888512} + nodeUIDs: + - e59a6ecc-9191-4081-8815-c36236e0ccb2 + - + flowUIDs: + - 50943874-0a06-4c02-a730-4bfccb9e1424 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Event_Interact + uid: bd020035-9879-4aa0-84bc-e566b739779b + position: {x: 1869.9204, y: 32.92849} + nodeUIDs: [] + flowUIDs: + - 2c627ded-68ae-4b7d-81e1-82905134b95f + nodeValues: [] + - fullName: Get_Variable + uid: eed71ff0-c46b-435c-bd48-af65f457b51e + position: {x: 2009.9204, y: 269.4885} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a59b1164-8b81-4f62-bc09-4b254546ba8b + - fullName: Get_Variable + uid: e59a6ecc-9191-4081-8815-c36236e0ccb2 + position: {x: 1823.9204, y: -91.59147} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|356344a0-d4a5-45ab-8805-a0edef54ae4d + updateOrder: 0 + graphElementData: + - type: 5 + uid: 67ba983c-0cc0-4490-92fe-152c2909a594 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 017e4739-c705-48a8-a04a-42b7745b3021 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":0.0,"y":19.0,"width":200.0,"height":100.0}}' + viewTransform: + position: {x: -2436.1475, y: 234.49677} + scale: 1.520875 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/Scripts/HQ Mirror Toggle.asset.meta b/VRCSDK3Worlds/Assets/Scripts/HQ Mirror Toggle.asset.meta new file mode 100644 index 00000000..da379595 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/HQ Mirror Toggle.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ac5d9e340b5a1fa4495e9ced4d01cf44 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/LQ Mirror Toggle.asset b/VRCSDK3Worlds/Assets/Scripts/LQ Mirror Toggle.asset new file mode 100644 index 00000000..8f9c5dd9 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/LQ Mirror Toggle.asset @@ -0,0 +1,166 @@ +%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: LQ Mirror Toggle + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: d76c05a520e71c94eb99f74aae5a6142, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export LQMirror\r\n .export HQMirror\r\n + \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 __Boolean_0: %SystemBoolean, null\r\n __instance_2: %UnityEngineGameObject, + this\r\n LQMirror: %UnityEngineGameObject, this\r\n HQMirror: %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, HQMirror\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 PUSH, + LQMirror\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, LQMirror\r\n + PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n PUSH, + __Boolean_0\r\n EXTERN, \"UnityEngineGameObject.__get_activeInHierarchy__SystemBoolean\"\r\n + PUSH, __Boolean_0\r\n PUSH, __value_1\r\n EXTERN, \"SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean\"\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: 356344a0-d4a5-45ab-8805-a0edef54ae4d + position: {x: -414.5, y: 10.539978} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|LQMirror + - 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_UnityEngineGameObject + uid: a59b1164-8b81-4f62-bc09-4b254546ba8b + position: {x: -414.5, y: 10.539978} + nodeUIDs: + - + - + - + - + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|HQMirror + - 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: SystemBoolean.__op_UnaryNegation__SystemBoolean__SystemBoolean + uid: e5206df4-f102-42b2-abac-e8cbfe75ecdd + position: {x: 1487.2532, y: -487.99533} + nodeUIDs: + - a9eb3f5b-2865-4715-a728-0702fb3fee48 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: UnityEngineGameObject.__get_activeInHierarchy__SystemBoolean + uid: a9eb3f5b-2865-4715-a728-0702fb3fee48 + position: {x: 1487.2532, y: -400.71533} + nodeUIDs: + - 9f96e5a5-d0f0-4c90-bc7c-e36c36dcbd49 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineGameObject.__SetActive__SystemBoolean__SystemVoid + uid: 9fd4cb78-ef7a-4a5e-91fb-b9dbdf05ad88 + position: {x: 1488.2532, y: -640.3153} + nodeUIDs: + - 9f96e5a5-d0f0-4c90-bc7c-e36c36dcbd49 + - e5206df4-f102-42b2-abac-e8cbfe75ecdd + flowUIDs: [] + 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: d0945589-3661-4653-b5c7-ea7918911217 + position: {x: 1302.2532, y: -641.9553} + nodeUIDs: + - 376f4fe0-2f70-455b-93f4-fec6a7152743 + - + flowUIDs: + - 9fd4cb78-ef7a-4a5e-91fb-b9dbdf05ad88 + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089|False + - fullName: Event_Interact + uid: dd2c3971-9058-4e57-8d67-c0ec6f84dcbd + position: {x: 1141.2532, y: -635.91534} + nodeUIDs: [] + flowUIDs: + - d0945589-3661-4653-b5c7-ea7918911217 + nodeValues: [] + - fullName: Get_Variable + uid: 9f96e5a5-d0f0-4c90-bc7c-e36c36dcbd49 + position: {x: 1281.2532, y: -399.35535} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|356344a0-d4a5-45ab-8805-a0edef54ae4d + - fullName: Get_Variable + uid: 376f4fe0-2f70-455b-93f4-fec6a7152743 + position: {x: 1095.2532, y: -760.4353} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|a59b1164-8b81-4f62-bc09-4b254546ba8b + updateOrder: 0 + graphElementData: + - type: 5 + uid: 67ba983c-0cc0-4490-92fe-152c2909a594 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}' + - type: 4 + uid: 017e4739-c705-48a8-a04a-42b7745b3021 + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":20.0,"width":0.0,"height":0.0}}' + viewTransform: + position: {x: -649.433, y: 1052.9033} + scale: 1.15 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/Scripts/LQ Mirror Toggle.asset.meta b/VRCSDK3Worlds/Assets/Scripts/LQ Mirror Toggle.asset.meta new file mode 100644 index 00000000..6c8279ec --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/LQ Mirror Toggle.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 34a9ff861c699c74a9b762da3ba7e450 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/Teleport Interact.asset b/VRCSDK3Worlds/Assets/Scripts/Teleport Interact.asset new file mode 100644 index 00000000..cc29eee2 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Teleport Interact.asset @@ -0,0 +1,126 @@ +%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: Teleport Interact + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 96d8633d7b1e9cf4ca12a32bf3cfabe7, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export Target\r\n \r\n __instance_0: + %VRCSDKBaseVRCPlayerApi, null\r\n __teleportPos_0: %UnityEngineVector3, null\r\n + __teleportRot_0: %UnityEngineQuaternion, null\r\n __instance_1: %UnityEngineTransform, + this\r\n __instance_2: %UnityEngineTransform, this\r\n Target: %UnityEngineTransform, + 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, Target\r\n PUSH, __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n + PUSH, __teleportPos_0\r\n EXTERN, \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n + PUSH, Target\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, __instance_2\r\n + PUSH, __teleportRot_0\r\n EXTERN, \"UnityEngineTransform.__get_rotation__UnityEngineQuaternion\"\r\n + PUSH, __instance_0\r\n PUSH, __teleportPos_0\r\n PUSH, __teleportRot_0\r\n + EXTERN, \"VRCSDKBaseVRCPlayerApi.__TeleportTo__UnityEngineVector3_UnityEngineQuaternion__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Variable_UnityEngineTransform + uid: 9365fa2e-f354-43e4-bf45-91bcff06a3aa + 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|Target + - 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: VRCSDKBaseVRCPlayerApi.__TeleportTo__UnityEngineVector3_UnityEngineQuaternion__SystemVoid + uid: 6701eb43-1c9c-41c5-88aa-17d0ae6785c8 + position: {x: 631, y: 191} + nodeUIDs: + - 5b6931bc-09b0-4aa0-8240-e3524383093b|0 + - b16db531-cf8a-4a13-bdc3-2f5f7ccb3bca|0 + - b1d1c4d9-5d05-437a-8b81-5ef23567e3b3|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0,"w":0.0} + - fullName: Get_Variable + uid: 45ca6c28-934f-422a-8b7e-e8b0732a7c1d + position: {x: 58, y: 494} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|9365fa2e-f354-43e4-bf45-91bcff06a3aa + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: b16db531-cf8a-4a13-bdc3-2f5f7ccb3bca + position: {x: 278, y: 502} + nodeUIDs: + - 45ca6c28-934f-422a-8b7e-e8b0732a7c1d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTransform.__get_rotation__UnityEngineQuaternion + uid: b1d1c4d9-5d05-437a-8b81-5ef23567e3b3 + position: {x: 253, y: 611} + nodeUIDs: + - 45ca6c28-934f-422a-8b7e-e8b0732a7c1d|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: Event_Interact + uid: 2c512a33-d5f1-4eb8-8be6-9af449ef6242 + position: {x: 313, y: 194} + nodeUIDs: [] + flowUIDs: + - 6701eb43-1c9c-41c5-88aa-17d0ae6785c8 + nodeValues: [] + - fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi + uid: 5b6931bc-09b0-4aa0-8240-e3524383093b + position: {x: 252, y: 305} + nodeUIDs: [] + flowUIDs: [] + nodeValues: [] + updateOrder: 0 + graphElementData: + - type: 5 + uid: a844d793-4487-493d-b744-8d67549e6ffe + jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":6.0,"y":130.0,"width":200.0,"height":150.0}}' + viewTransform: + position: {x: 0, y: 8} + scale: 1 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/Scripts/Teleport Interact.asset.meta b/VRCSDK3Worlds/Assets/Scripts/Teleport Interact.asset.meta new file mode 100644 index 00000000..ceef5066 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Teleport Interact.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 94712dcd21248854498e3f262b0cc493 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/VRCSDK3Worlds/Assets/Scripts/Teleport.asset b/VRCSDK3Worlds/Assets/Scripts/Teleport.asset new file mode 100644 index 00000000..1f4058eb --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Teleport.asset @@ -0,0 +1,119 @@ +%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: Teleport + m_EditorClassIdentifier: + serializedUdonProgramAsset: {fileID: 11400000, guid: 445529d19a84114489e422c395b96abc, + type: 2} + udonAssembly: ".data_start\r\n\r\n .export Transform\r\n \r\n __instance_0: + %VRCSDKBaseVRCPlayerApi, null\r\n __teleportPos_0: %UnityEngineVector3, null\r\n + __teleportRot_0: %UnityEngineQuaternion, null\r\n onPlayerTriggerEnterPlayer: + %VRCSDKBaseVRCPlayerApi, null\r\n __instance_1: %UnityEngineTransform, this\r\n + __instance_2: %UnityEngineTransform, this\r\n Transform: %UnityEngineTransform, + 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, __instance_0\r\n COPY\r\n PUSH, Transform\r\n PUSH, + __instance_1\r\n COPY\r\n PUSH, __instance_1\r\n PUSH, __teleportPos_0\r\n + EXTERN, \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n + PUSH, Transform\r\n PUSH, __instance_2\r\n COPY\r\n PUSH, + __instance_2\r\n PUSH, __teleportRot_0\r\n EXTERN, \"UnityEngineTransform.__get_rotation__UnityEngineQuaternion\"\r\n + PUSH, __instance_0\r\n PUSH, __teleportPos_0\r\n PUSH, __teleportRot_0\r\n + EXTERN, \"VRCSDKBaseVRCPlayerApi.__TeleportTo__UnityEngineVector3_UnityEngineQuaternion__SystemVoid\"\r\n + JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n" + assemblyError: + graphData: + name: + description: + nodes: + - fullName: Event_OnPlayerTriggerEnter + uid: 6ea4ee9e-6019-48f6-8be8-63c6ce4f4da2 + position: {x: 361.13043, y: -122.30435} + nodeUIDs: [] + flowUIDs: + - 866f0603-c5f3-4bf0-87fa-d8232c8969f4 + nodeValues: [] + - fullName: Variable_UnityEngineTransform + uid: 0a16b53e-1c43-4bfd-ac63-d881eae00f74 + 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|Transform + - 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: 61f82e38-fb7e-4f88-8379-fce8a8813778 + position: {x: 217.21739, y: -0.60870844} + nodeUIDs: + - + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0a16b53e-1c43-4bfd-ac63-d881eae00f74 + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTransform.__get_position__UnityEngineVector3 + uid: c3b5e158-70cb-4946-afc1-c06d03dc2743 + position: {x: 418.86957, y: -1.6521708} + nodeUIDs: + - 61f82e38-fb7e-4f88-8379-fce8a8813778|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: UnityEngineTransform.__get_rotation__UnityEngineQuaternion + uid: fa8aeb0d-db2f-46dc-a17d-b8382a731f7b + position: {x: 417.17392, y: 82.82609} + nodeUIDs: + - 61f82e38-fb7e-4f88-8379-fce8a8813778|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - fullName: VRCSDKBaseVRCPlayerApi.__TeleportTo__UnityEngineVector3_UnityEngineQuaternion__SystemVoid + uid: 866f0603-c5f3-4bf0-87fa-d8232c8969f4 + position: {x: 651.087, y: -128.30434} + nodeUIDs: + - 6ea4ee9e-6019-48f6-8be8-63c6ce4f4da2|0 + - c3b5e158-70cb-4946-afc1-c06d03dc2743|0 + - fa8aeb0d-db2f-46dc-a17d-b8382a731f7b|0 + flowUIDs: [] + nodeValues: + - unityObjectValue: {fileID: 0} + stringValue: + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Vector3, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0} + - unityObjectValue: {fileID: 0} + stringValue: UnityEngine.Quaternion, UnityEngine.CoreModule, Version=0.0.0.0, + Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0,"w":0.0} + updateOrder: 0 + graphElementData: [] + viewTransform: + position: {x: -222, y: 416} + scale: 1.520875 + version: 1.0.0 + showAssembly: 0 diff --git a/VRCSDK3Worlds/Assets/Scripts/Teleport.asset.meta b/VRCSDK3Worlds/Assets/Scripts/Teleport.asset.meta new file mode 100644 index 00000000..fe581c55 --- /dev/null +++ b/VRCSDK3Worlds/Assets/Scripts/Teleport.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2316fd35a41b9be43b6b2dddafbaf1b1 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: |