Esempio n. 1
0
        public static unsafe void *GetUnsafeReadOnlyPtr <T>(this NativeListArray <T> .NativeList list) where T : unmanaged
        {
#if ENABLE_UNITY_COLLECTIONS_CHECKS
            AtomicSafetyHandle.CheckReadAndThrow(list.m_Safety);
#endif
            return(list.m_ListData->Ptr);
        }
Esempio n. 2
0
 public static void *GetInternalListDataPtrUnchecked <T>(ref NativeListArray <T> .NativeList list) where T : unmanaged
 {
     return(list.m_ListData);
 }
Esempio n. 3
0
 public static AtomicSafetyHandle GetAtomicSafetyHandle <T>(ref NativeListArray <T> .NativeList list) where T : unmanaged
 {
     return(list.m_Safety);
 }