Class GridEntry
Inheritance
System.Object
GridEntry
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FishNet.Component.Observing
Assembly: FishNet.Runtime.dll
Syntax
public class GridEntry
Constructors
GridEntry()
Declaration
public GridEntry()
GridEntry(HashSet<GridEntry>)
Declaration
public GridEntry(HashSet<GridEntry> nearby)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.HashSet<GridEntry> | nearby |
Fields
NearbyEntries
This grid entry as well those neighboring it.
Declaration
public HashSet<GridEntry> NearbyEntries
Field Value
Type | Description |
---|---|
System.Collections.Generic.HashSet<GridEntry> |
Position
Position on the grid.
Declaration
public Vector2Int Position
Field Value
Type | Description |
---|---|
UnityEngine.Vector2Int |
Methods
Reset()
Declaration
public void Reset()
SetValues(HashSet<GridEntry>)
Declaration
public void SetValues(HashSet<GridEntry> nearby)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.HashSet<GridEntry> | nearby |
SetValues(Vector2Int)
Declaration
public void SetValues(Vector2Int position)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2Int | position |
SetValues(Vector2Int, HashSet<GridEntry>)
Declaration
public void SetValues(Vector2Int position, HashSet<GridEntry> nearby)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2Int | position | |
System.Collections.Generic.HashSet<GridEntry> | nearby |