summaryrefslogtreecommitdiff
path: root/VRCSDK3Worlds/Assets/Scripts/Teleport.asset
blob: 1f4058eb04ae2e777f003c461e05638b3ccd3cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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