Пример #1
0
 internal Enumerator(FixedSizeStack <T> stack)
 {
     _stack          = stack;
     _version        = _stack._version;
     _index          = -2;
     _currentElement = default(T);
 }
 public Logger(int size = 20, bool unityLog = true)
 {
     Size      = new Vector2(400f, LineHeight * size);
     _messages = new FixedSizeStack <string>(size);
     _unityLog = unityLog;
 }