Beispiel #1
0
        public FlashObject <T> CallFlash <T>()
        {
            FlashObject <T> obj = new FlashObject <T>(FlashUtil.Call <int>("fcCallFlash", _fobj.ID));

            if (DestroyOnCall)
            {
                Destroy();
            }
            return(obj);
        }
Beispiel #2
0
            public bool MoveNext()
            {
                int length = _length.Value;

                if (_index >= length)
                {
                    return(false);
                }
                Current?.Dispose();
                Current = _array.Get(_index);
                _index++;
                return(true);
            }
Beispiel #3
0
 public FlashArrayEnumerator(FlashArray <S> array)
 {
     _array  = array;
     _length = _array.GetChild <int>("length");
 }