Skip to content

Commit

Permalink
feat: add libraries, add networking behaviours
Browse files Browse the repository at this point in the history
  • Loading branch information
Guribo committed Jun 12, 2021
1 parent c6ccc54 commit d25daf7
Show file tree
Hide file tree
Showing 64 changed files with 3,505 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/Releases/
/Releases.meta
8 changes: 8 additions & 0 deletions Graphs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

295 changes: 295 additions & 0 deletions Graphs/HorizontalLookAt.asset
Original file line number Diff line number Diff line change
@@ -0,0 +1,295 @@
%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: HorizontalLookAt
m_EditorClassIdentifier:
serializedUdonProgramAsset: {fileID: 11400000, guid: d6bdc5fdaa093bc4b8bf3c34220f70bd,
type: 2}
udonAssembly: ".data_start\r\n\r\n .export weight\r\n \r\n instance_0:
%VRCUdonUdonBehaviour, this\r\n symbolName_0: %SystemString, null\r\n value_0:
%SystemObject, null\r\n instance_1: %UnityEngineTransform, this\r\n object_0:
%SystemObject, null\r\n result_0: %SystemBoolean, null\r\n instance_2: %UnityEngineTransform,
this\r\n value_1: %UnityEngineQuaternion, null\r\n x_0: %SystemSingle, null\r\n
\ y_0: %SystemSingle, null\r\n z_0: %SystemSingle, null\r\n Vector3_0:
%UnityEngineVector3, null\r\n instance_3: %UnityEngineQuaternion, null\r\n
\ a_0: %UnityEngineQuaternion, null\r\n b_0: %UnityEngineQuaternion, null\r\n
\ t_0: %SystemSingle, null\r\n forward_0: %UnityEngineVector3, null\r\n Vector3_1:
%UnityEngineVector3, null\r\n Vector3_2: %UnityEngineVector3, null\r\n instance_4:
%UnityEngineTransform, this\r\n instance_5: %VRCSDKBaseVRCPlayerApi, null\r\n
\ weight: %SystemSingle, null\r\n _initialRotation: %UnityEngineQuaternion,
null\r\n\r\n.data_end\r\n\r\n.code_start\r\n\r\n .export _start\r\n \r\n
\ _start:\r\n \r\n PUSH, instance_1\r\n PUSH, value_0\r\n EXTERN,
\"UnityEngineTransform.__get_rotation__UnityEngineQuaternion\"\r\n PUSH,
instance_0\r\n PUSH, symbolName_0\r\n PUSH, value_0\r\n EXTERN,
\"VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid\"\r\n
\ JUMP, 0xFFFFFFFC\r\n \r\n .export _update\r\n \r\n _update:\r\n
\ \r\n PUSH, object_0\r\n EXTERN, \"VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi\"\r\n
\ PUSH, object_0\r\n PUSH, result_0\r\n EXTERN, \"VRCSDKBaseUtilities.__IsValid__SystemObject__SystemBoolean\"\r\n
\ PUSH, result_0\r\n JUMP_IF_FALSE, 0x00000194\r\n PUSH, instance_4\r\n
\ PUSH, Vector3_1\r\n EXTERN, \"UnityEngineTransform.__get_position__UnityEngineVector3\"\r\n
\ PUSH, object_0\r\n PUSH, instance_5\r\n COPY\r\n PUSH,
object_0\r\n PUSH, Vector3_2\r\n EXTERN, \"VRCSDKBaseVRCPlayerApi.__GetPosition__UnityEngineVector3\"\r\n
\ PUSH, Vector3_1\r\n PUSH, Vector3_2\r\n PUSH, forward_0\r\n
\ EXTERN, \"UnityEngineVector3.__op_Subtraction__UnityEngineVector3_UnityEngineVector3__UnityEngineVector3\"\r\n
\ PUSH, forward_0\r\n PUSH, b_0\r\n EXTERN, \"UnityEngineQuaternion.__LookRotation__UnityEngineVector3__UnityEngineQuaternion\"\r\n
\ PUSH, _initialRotation\r\n PUSH, b_0\r\n PUSH, weight\r\n
\ PUSH, instance_3\r\n EXTERN, \"UnityEngineQuaternion.__Slerp__UnityEngineQuaternion_UnityEngineQuaternion_SystemSingle__UnityEngineQuaternion\"\r\n
\ PUSH, instance_3\r\n PUSH, Vector3_0\r\n EXTERN, \"UnityEngineQuaternion.__get_eulerAngles__UnityEngineVector3\"\r\n
\ PUSH, Vector3_0\r\n PUSH, y_0\r\n EXTERN, \"UnityEngineVector3.__get_y__SystemSingle\"\r\n
\ PUSH, x_0\r\n PUSH, y_0\r\n PUSH, z_0\r\n PUSH, value_1\r\n
\ EXTERN, \"UnityEngineQuaternion.__Euler__SystemSingle_SystemSingle_SystemSingle__UnityEngineQuaternion\"\r\n
\ PUSH, instance_2\r\n PUSH, value_1\r\n EXTERN, \"UnityEngineTransform.__set_rotation__UnityEngineQuaternion__SystemVoid\"\r\n
\ JUMP, 0x00000194\r\n JUMP, 0xFFFFFFFC\r\n \r\n\r\n.code_end\r\n"
assemblyError:
graphData:
name:
description:
nodes:
- fullName: Variable_SystemSingle
uid: e923e774-3a73-41f5-9bfd-58e34e6aa13b
position: {x: 0, y: 0}
nodeUIDs:
-
-
-
-
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|1
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|weight
- 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_UnityEngineQuaternion
uid: 0e0ff6b0-93a4-49ea-bc5d-d8a1def425e3
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|_initialRotation
- unityObjectValue: {fileID: 0}
stringValue: System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|False
- 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_Start
uid: 2fd618ba-0e8e-4354-85ea-21d1eb1cd6e4
position: {x: 237, y: 10.120003}
nodeUIDs: []
flowUIDs:
- 863d8b39-795d-47f0-97ef-38332dfb396e
nodeValues: []
- fullName: UnityEngineTransform.__get_rotation__UnityEngineQuaternion
uid: 71be00eb-4ebc-466c-8e62-d2346b5efa8d
position: {x: 366, y: 99.12}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCUdonCommonInterfacesIUdonEventReceiver.__SetProgramVariable__SystemString_SystemObject__SystemVoid
uid: 863d8b39-795d-47f0-97ef-38332dfb396e
position: {x: 611, y: 10.120003}
nodeUIDs:
-
-
- 71be00eb-4ebc-466c-8e62-d2346b5efa8d|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|_initialRotation
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Event_Update
uid: c3047606-35f4-4db7-925a-65891c080eea
position: {x: 237, y: 299.12}
nodeUIDs: []
flowUIDs:
- dddd9e5c-9de3-4ce6-a504-eecad67a5b01
nodeValues: []
- fullName: UnityEngineTransform.__get_position__UnityEngineVector3
uid: c1609de1-79b3-41f6-b104-da4653ab381e
position: {x: 447.31854, y: 449.35907}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: VRCSDKBaseNetworking.__get_LocalPlayer__VRCSDKBaseVRCPlayerApi
uid: a708fad7-7191-4583-a172-ce1b4aae4237
position: {x: 231, y: 441.12}
nodeUIDs: []
flowUIDs: []
nodeValues: []
- fullName: Is_Valid
uid: dddd9e5c-9de3-4ce6-a504-eecad67a5b01
position: {x: 442, y: 301.12}
nodeUIDs:
- a708fad7-7191-4583-a172-ce1b4aae4237|0
flowUIDs:
- 792ff194-644f-4481-9c40-464b58d476dc
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineVector3.__op_Subtraction__UnityEngineVector3_UnityEngineVector3__UnityEngineVector3
uid: 71c60369-dc95-46ee-a076-85bbeeb34341
position: {x: 665.31854, y: 470.35904}
nodeUIDs:
- c1609de1-79b3-41f6-b104-da4653ab381e|0
- 8a27f689-3a13-4616-882d-dbe11684a773|0
flowUIDs: []
nodeValues:
- 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.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0}
- fullName: VRCSDKBaseVRCPlayerApi.__GetPosition__UnityEngineVector3
uid: 8a27f689-3a13-4616-882d-dbe11684a773
position: {x: 449.31854, y: 546.7591}
nodeUIDs:
- a708fad7-7191-4583-a172-ce1b4aae4237|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineQuaternion.__LookRotation__UnityEngineVector3__UnityEngineQuaternion
uid: 41ff8417-f605-4b2e-a773-dadabf686b0e
position: {x: 891.3185, y: 476.11905}
nodeUIDs:
- 71c60369-dc95-46ee-a076-85bbeeb34341|0
-
flowUIDs: []
nodeValues:
- 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.Vector3, UnityEngine.CoreModule, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null|{"x":0.0,"y":0.0,"z":0.0}
- fullName: UnityEngineQuaternion.__Slerp__UnityEngineQuaternion_UnityEngineQuaternion_SystemSingle__UnityEngineQuaternion
uid: f9e11131-350c-4a7e-be01-ba48cced02b4
position: {x: 1248.3185, y: 411.11908}
nodeUIDs:
- c0457fc3-0a3e-43b2-b542-6b25acfaaecd|0
- 41ff8417-f605-4b2e-a773-dadabf686b0e|0
- b6d37cc4-ccb6-4a47-b2af-4fd441095e7b|0
flowUIDs: []
nodeValues:
- 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}
- 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}
- unityObjectValue: {fileID: 0}
stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
- fullName: Get_Variable
uid: b6d37cc4-ccb6-4a47-b2af-4fd441095e7b
position: {x: 975.31854, y: 582.2391}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|e923e774-3a73-41f5-9bfd-58e34e6aa13b
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: Get_Variable
uid: c0457fc3-0a3e-43b2-b542-6b25acfaaecd
position: {x: 895.3185, y: 379.99908}
nodeUIDs:
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0e0ff6b0-93a4-49ea-bc5d-d8a1def425e3
- unityObjectValue: {fileID: 0}
stringValue:
- fullName: UnityEngineQuaternion.__get_eulerAngles__UnityEngineVector3
uid: 04842881-04bc-4f41-bd17-92754b9a5959
position: {x: 1497.3186, y: 429.11905}
nodeUIDs:
- f9e11131-350c-4a7e-be01-ba48cced02b4|0
flowUIDs: []
nodeValues:
- 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: UnityEngineTransform.__set_rotation__UnityEngineQuaternion__SystemVoid
uid: 792ff194-644f-4481-9c40-464b58d476dc
position: {x: 2185.6965, y: 304.16284}
nodeUIDs:
-
- 699ad579-eca7-43b8-ace9-62020dc8eff2|0
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue:
- 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: UnityEngineQuaternion.__Euler__SystemSingle_SystemSingle_SystemSingle__UnityEngineQuaternion
uid: 699ad579-eca7-43b8-ace9-62020dc8eff2
position: {x: 1941.4781, y: 377.9635}
nodeUIDs:
-
- 29a0f821-190b-456d-9716-44d82f76bdba|0
-
flowUIDs: []
nodeValues:
- unityObjectValue: {fileID: 0}
stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
- unityObjectValue: {fileID: 0}
stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
- unityObjectValue: {fileID: 0}
stringValue: System.Single, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089|0
- fullName: UnityEngineVector3.__get_y__SystemSingle
uid: 29a0f821-190b-456d-9716-44d82f76bdba
position: {x: 1765.9839, y: 426.9353}
nodeUIDs:
- 04842881-04bc-4f41-bd17-92754b9a5959|0
flowUIDs: []
nodeValues:
- 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}
updateOrder: 0
graphElementData:
- type: 5
uid: 9812095f-d089-45e4-b339-c14973bd58e9
jsonData: '{"visible":true,"layout":{"serializedVersion":"2","x":10.0,"y":130.0,"width":200.0,"height":150.0}}'
viewTransform:
position: {x: 73.2903, y: 136.85036}
scale: 0.57175326
version: 1.0.0
showAssembly: 0
8 changes: 8 additions & 0 deletions Graphs/HorizontalLookAt.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Prefabs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d25daf7

Please sign in to comment.