fishnet installed
This commit is contained in:
8
Assets/FishNet/Runtime/Plugins/ColliderRollback.meta
Normal file
8
Assets/FishNet/Runtime/Plugins/ColliderRollback.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a39159d806d05c4a9eb7a7a389d8396
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,5 @@
|
||||
Attribution to https://assetstore.unity.com/packages/3d/environments/landscapes/low-poly-simple-nature-pack-162153
|
||||
"SimpleNaturePack"
|
||||
|
||||
Attribution to Kenny.nl
|
||||
"Weapon Pack"
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0b87cdb0a34a9254ab77396878d3679e
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1 @@
|
||||
This software uses the license for Fish-Networking: https://github.com/FirstGearGames/FishNet/blob/main/LICENSE.md
|
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ff1ecc2a24fd9684a862c4b99cfc2fcd
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d1d5f2c3ff10faa45a45d9cb3b1bfcc1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,23 @@
|
||||
using FishNet.Object;
|
||||
using UnityEngine;
|
||||
|
||||
namespace FishNet.Component.ColliderRollback
|
||||
{
|
||||
|
||||
public class ColliderRollback : NetworkBehaviour
|
||||
{
|
||||
|
||||
|
||||
#region Serialized.
|
||||
/// <summary>
|
||||
/// Objects holding colliders which can rollback.
|
||||
/// </summary>
|
||||
[Tooltip("Objects holding colliders which can rollback.")]
|
||||
[SerializeField]
|
||||
private GameObject[] _colliderParents = new GameObject[0];
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 01a271dd97d875347b0cea860df29a9d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: bf9191e2e07d29749bca3a1ae44e4bc8, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,51 @@
|
||||
using FishNet.Managing;
|
||||
using FishNet.Managing.Timing;
|
||||
using FishNet.Transporting;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace FishNet.Component.ColliderRollback
|
||||
{
|
||||
public class RollbackManager : MonoBehaviour
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
#region Serialized.
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Tooltip("Maximum time in the past colliders can be rolled back to.")]
|
||||
[SerializeField]
|
||||
private float _maximumRollbackTime = 1.25f;
|
||||
/// <summary>
|
||||
/// Maximum time in the past colliders can be rolled back to.
|
||||
/// </summary>
|
||||
internal float MaximumRollbackTime => _maximumRollbackTime;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Tooltip("Interpolation value for the NetworkTransform or object being rolled back.")]
|
||||
[Range(0, 250)]
|
||||
[SerializeField]
|
||||
internal ushort Interpolation = 2;
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Initializes this script for use.
|
||||
/// </summary>
|
||||
/// <param name="manager"></param>
|
||||
internal void InitializeOnce_Internal(NetworkManager manager)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b185516acd802904383e2a5f1a666750
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: bf9191e2e07d29749bca3a1ae44e4bc8, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/FishNet/Runtime/Plugins/Yak.meta
Normal file
8
Assets/FishNet/Runtime/Plugins/Yak.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0bfce5a10f5315248bf3e7eaed92265d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
2
Assets/FishNet/Runtime/Plugins/Yak/CHANGELOG.txt
Normal file
2
Assets/FishNet/Runtime/Plugins/Yak/CHANGELOG.txt
Normal file
@ -0,0 +1,2 @@
|
||||
1.0.0
|
||||
- Initial release.
|
7
Assets/FishNet/Runtime/Plugins/Yak/CHANGELOG.txt.meta
Normal file
7
Assets/FishNet/Runtime/Plugins/Yak/CHANGELOG.txt.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 65389c57cd9accf47967cc3e6cb7ac1b
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
8
Assets/FishNet/Runtime/Plugins/Yak/Core.meta
Normal file
8
Assets/FishNet/Runtime/Plugins/Yak/Core.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b79a48228ccfcd4cbf0a0514295abeb
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
11
Assets/FishNet/Runtime/Plugins/Yak/Core/ClientSocket.cs.meta
Normal file
11
Assets/FishNet/Runtime/Plugins/Yak/Core/ClientSocket.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 26269fe7187f5da4e957080519ea0f13
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
11
Assets/FishNet/Runtime/Plugins/Yak/Core/CommonSocket.cs.meta
Normal file
11
Assets/FishNet/Runtime/Plugins/Yak/Core/CommonSocket.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 63afa30fa0251df44b9496aded55d795
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
1
Assets/FishNet/Runtime/Plugins/Yak/Core/LocalPacket.cs
Normal file
1
Assets/FishNet/Runtime/Plugins/Yak/Core/LocalPacket.cs
Normal file
@ -0,0 +1 @@
|
||||
|
11
Assets/FishNet/Runtime/Plugins/Yak/Core/LocalPacket.cs.meta
Normal file
11
Assets/FishNet/Runtime/Plugins/Yak/Core/LocalPacket.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f52ce359669f91c4d981dc605a8875b7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
11
Assets/FishNet/Runtime/Plugins/Yak/Core/ServerSocket.cs.meta
Normal file
11
Assets/FishNet/Runtime/Plugins/Yak/Core/ServerSocket.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9181ba25449c96446b966d0bd62e5813
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
1
Assets/FishNet/Runtime/Plugins/Yak/VERSION.txt
Normal file
1
Assets/FishNet/Runtime/Plugins/Yak/VERSION.txt
Normal file
@ -0,0 +1 @@
|
||||
1.0.0
|
7
Assets/FishNet/Runtime/Plugins/Yak/VERSION.txt.meta
Normal file
7
Assets/FishNet/Runtime/Plugins/Yak/VERSION.txt.meta
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3f0e4449aaa7cf0499df1847fdbd5377
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
0
Assets/FishNet/Runtime/Plugins/Yak/Yak.cs
Normal file
0
Assets/FishNet/Runtime/Plugins/Yak/Yak.cs
Normal file
11
Assets/FishNet/Runtime/Plugins/Yak/Yak.cs.meta
Normal file
11
Assets/FishNet/Runtime/Plugins/Yak/Yak.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91f4cf5273666764789e6f8bada05e3e
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: bf9191e2e07d29749bca3a1ae44e4bc8, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user