예제 #1
0
 internal Enumerator(CyclePool <T> collection)
 {
     _collection = collection;
     _index      = -1;
     Current     = default;
 }
예제 #2
0
 public Logger(int historySize = 100, bool unityLog = true, int rows = 20)
 {
     _messages = new CyclePool <UILogMessage>(historySize);
     _unityLog = unityLog;
     _rows     = rows;
 }
예제 #3
0
 public TrackSeries2D(int maxPoints)
 {
     _buffer = new CyclePool <Vector2>(maxPoints);
 }