mirror of
https://github.com/Kaveinator/NetickProForUnity.git
synced 2025-10-27 10:19:07 -07:00
Moved PlayerSpawner to Netick.Samples namespace.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,6 +5,9 @@ using Network = Netick.Unity.Network;
|
||||
|
||||
namespace Netick.Samples
|
||||
{
|
||||
/// <summary>
|
||||
/// This is a helper script for quick prototyping, used to start Netick.
|
||||
/// </summary>
|
||||
[AddComponentMenu("Netick/Game Starter")]
|
||||
public class GameStarter : NetworkEventsListener
|
||||
{
|
||||
|
||||
@@ -5,6 +5,9 @@ using Network = Netick.Unity.Network;
|
||||
|
||||
namespace Netick.Samples
|
||||
{
|
||||
/// <summary>
|
||||
/// This is a helper script for quick prototyping, used to show useful network information of Netick.
|
||||
/// </summary>
|
||||
[AddComponentMenu("Netick/Network Info")]
|
||||
public class NetworkInfo : NetworkEventsListener
|
||||
{
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
using UnityEngine;
|
||||
using Netick;
|
||||
using Netick.Unity;
|
||||
using UnityEngine;
|
||||
using Network = Netick.Unity.Network;
|
||||
|
||||
namespace Netick.Samples
|
||||
{
|
||||
/// <summary>
|
||||
/// This is a helper script for quick prototyping, used to spawn/despawn a player prefab when a player (client or host) has connected/disconnected.
|
||||
/// </summary>
|
||||
@@ -35,3 +38,4 @@ public class PlayerSpawner : NetworkEventsListener
|
||||
Sandbox.Destroy(netObj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "com.karrar.netick",
|
||||
"version": "0.13.18",
|
||||
"version": "0.13.19",
|
||||
"displayName": "Netick",
|
||||
"description": "A networking solution for Unity",
|
||||
"unity": "2021.3",
|
||||
|
||||
Reference in New Issue
Block a user