public void GetSpawnSystemInfo(int nameID, VFXSpawnerState spawnState)
        {
            if (spawnState == null)
            {
                throw new NullReferenceException("GetSpawnSystemInfo expects a non null VFXSpawnerState.");
            }
            IntPtr ptr = spawnState.GetPtr();

            if (ptr == IntPtr.Zero)
            {
                throw new NullReferenceException("GetSpawnSystemInfo use an unexpected not owned VFXSpawnerState.");
            }
            GetSpawnSystemInfo(nameID, ptr);
        }
        public void GetSpawnSystemInfo(int nameID, VFXSpawnerState spawnState)
        {
            bool flag = spawnState == null;

            if (flag)
            {
                throw new NullReferenceException("GetSpawnSystemInfo expects a non null VFXSpawnerState.");
            }
            IntPtr ptr   = spawnState.GetPtr();
            bool   flag2 = ptr == IntPtr.Zero;

            if (flag2)
            {
                throw new NullReferenceException("GetSpawnSystemInfo use an unexpected not owned VFXSpawnerState.");
            }
            this.GetSpawnSystemInfo(nameID, ptr);
        }