mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2026-07-31 15:29:04 +02:00
CHANGED TO MIRROR
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// add this to NetworkIdentities for custom range if needed.
|
||||
// only works with DistanceInterestManagement.
|
||||
using UnityEngine;
|
||||
|
||||
namespace Mirror
|
||||
{
|
||||
[RequireComponent(typeof(NetworkIdentity))]
|
||||
[DisallowMultipleComponent]
|
||||
public class DistanceInterestManagementCustomRange : MonoBehaviour
|
||||
{
|
||||
[Tooltip("The maximum range that objects will be visible at.")]
|
||||
public int visRange = 20;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user