diff --git a/Netick/Editor/Netick.Unity.Editor.dll b/Netick/Editor/Netick.Unity.Editor.dll
index 7610721..11d495a 100644
Binary files a/Netick/Editor/Netick.Unity.Editor.dll and b/Netick/Editor/Netick.Unity.Editor.dll differ
diff --git a/Netick/Editor/Netick.Unity.Pro.Editor.dll b/Netick/Editor/Netick.Unity.Pro.Editor.dll
index ddee80d..74a3731 100644
Binary files a/Netick/Editor/Netick.Unity.Pro.Editor.dll and b/Netick/Editor/Netick.Unity.Pro.Editor.dll differ
diff --git a/Netick/Editor/Unity.Netick.CodeGen.dll b/Netick/Editor/Unity.Netick.CodeGen.dll
index 870db2a..b1011f2 100644
Binary files a/Netick/Editor/Unity.Netick.CodeGen.dll and b/Netick/Editor/Unity.Netick.CodeGen.dll differ
diff --git a/Netick/Runtime/Netick.Unity.Pro.dll b/Netick/Runtime/Netick.Unity.Pro.dll
index 61f364a..59e2db1 100644
Binary files a/Netick/Runtime/Netick.Unity.Pro.dll and b/Netick/Runtime/Netick.Unity.Pro.dll differ
diff --git a/Netick/Runtime/Netick.Unity.dll b/Netick/Runtime/Netick.Unity.dll
index 177962c..e149987 100644
Binary files a/Netick/Runtime/Netick.Unity.dll and b/Netick/Runtime/Netick.Unity.dll differ
diff --git a/Netick/Runtime/Netick.Unity.xml b/Netick/Runtime/Netick.Unity.xml
index e504976..7d683de 100644
--- a/Netick/Runtime/Netick.Unity.xml
+++ b/Netick/Runtime/Netick.Unity.xml
@@ -155,12 +155,44 @@
-
+
- Instantiates a prefab. This must be called instead of or its variations.
+ Instantiates a prefab. This must be called instead of .
Note: this must be called only for non-networked prefabs. If you want to instantiate a network prefab, use instead.
+
+
+ [Server Only] Instantiates a network prefab.
+ This must only be called on the server, since only the server can instantiate network prefabs.
+ Note: make sure the prefab has been registered.
+ Note: the specified input source will be given to every child of this prefab.
+
+
+
+
+ [Server Only] Instantiates a network prefab.
+ This must only be called on the server, since only the server can instantiate network prefabs.
+ Note: make sure the prefab has been registered.
+ Note: the specified input source will be given to every child of this prefab.
+
+
+
+
+ [Server Only] Instantiates a network prefab.
+ This must only be called on the server, since only the server can instantiate network prefabs.
+ Note: make sure the prefab has been registered.
+ Note: the specified input source will be given to every child of this prefab.
+
+
+
+
+ [Server Only] Instantiates a network prefab.
+ This must only be called on the server, since only the server can instantiate network prefabs.
+ Note: make sure the prefab has been registered.
+ Note: the specified input source will be given to every child of this prefab.
+
+
Gets the the associated NetworkObject (player object) with this player.
@@ -349,36 +381,10 @@
Gets a Network Prefab by name.
- Note: this causes GC.
-
The Network Prefab
-
-
- [Server Only] Instantiates a network prefab.
- This must only be called on the server, since only the server can instantiate network prefabs.
- Note: make sure the prefab has been registered.
- Note: the specified input source will be given to every child of this prefab.
-
-
-
-
- [Server Only] Instantiates a network prefab.
- This must only be called on the server, since only the server can instantiate network prefabs.
- Note: make sure the prefab has been registered.
- Note: the specified input source will be given to every child of this prefab.
-
-
-
-
- [Server Only] Instantiates a network prefab.
- This must only be called on the server, since only the server can instantiate network prefabs.
- Note: make sure the prefab has been registered.
- Note: the specified input source will be given to every child of this prefab.
-
-
-
+
[Server Only] Instantiates a network prefab.
This must only be called on the server, since only the server can instantiate network prefabs.
@@ -512,7 +518,7 @@
- Use this to manages interest groups and area of interest (AoI) layers.
+ Use this to manage interest groups and area of interest (AoI) layers.
@@ -813,6 +819,16 @@
+
+
+ A helper struct that represents an angle in degrees, which automatically wraps to [0, 360) range.
+
+
+
+
+ Construct from raw degrees (auto-wrapped to [0, 360) internally).
+
+
Add this component to a GameObject to ensure only a single instance of it will exist at the same time, across all sandboxes.
@@ -980,7 +996,7 @@
Base class for all networked behaviors in Netick.
- Inherit from this class to create custom network-synchronized logic.
+ Inherit from this class to create network-synchronized logic.
Provides access to network state, input, and misc utility methods.
@@ -1048,6 +1064,7 @@
Returns the source (/) of inputs for this . If the source of inputs is remote (from a client) it returns that , while on the
input source itself it returns the local .
+ Use for the synced-to-everyone player id of the Input Source - because is only valid in the client for objects the client itself is the input source of, and it's null for everything else.
diff --git a/Netick/Runtime/Netick.dll b/Netick/Runtime/Netick.dll
index 2d14a0a..2b0f2e1 100644
Binary files a/Netick/Runtime/Netick.dll and b/Netick/Runtime/Netick.dll differ
diff --git a/Netick/Runtime/Netick.xml b/Netick/Runtime/Netick.xml
index b588225..b5c6406 100644
--- a/Netick/Runtime/Netick.xml
+++ b/Netick/Runtime/Netick.xml
@@ -435,7 +435,7 @@
- Represents an networked entity (object) in the simulation.
+ Represents an networked entity (object) in Netick.
@@ -627,18 +627,6 @@
The NetickEngine class is the core of Netick, managing networking, simulation, interpolation, replication, etc.
-
-
- A list containing all connected clients currently.
- Note: if you want the clients + the server, use .
-
-
-
-
- A list containing all connected clients currently, in addition to the server.
- Note: if you only want the clients, use .
-
-
[Client Only] The of the server you are connected to. Returns null if you are not connected to any server, or if you are the server.
@@ -690,6 +678,18 @@
[Client Only] The round-trip time (RTT) of the client in seconds.
+
+
+ A list containing all connected clients currently.
+ Note: if you want the clients + the server, use .
+
+
+
+
+ A list containing all connected clients currently, in addition to the server.
+ Note: if you only want the clients, use .
+
+
[Client Only] Disconnects this client from the server.
@@ -789,7 +789,7 @@
-
+
This method is called on the client when it receives new entity meta data. This must be used to create/setup network entities on the client. It can be called many times not only when the data has changed.
Note: user entity meta data can be used for custom user data that might be used in creating entities.
diff --git a/package.json b/package.json
index 9f50aa1..815481c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "com.karrar.netick",
- "version": "0.14.49",
+ "version": "0.14.50",
"displayName": "Netick",
"description": "A networking solution for Unity",
"unity": "2021.3",