コード例 #1
0
 public static NErrorCode EntityVarsAndConstants(ObjRef exprPtr, ref NativeArray res)
 => ExceptionEncode(ref res, exprPtr,
                    exprPtr => NativeArray.Alloc(exprPtr.AsEntity.VarsAndConsts.Select(v => (Entity)v))
                    );
コード例 #2
0
 public static NErrorCode EntityNodes(ObjRef exprPtr, ref NativeArray res)
 => ExceptionEncode(ref res, exprPtr,
                    exprPtr => NativeArray.Alloc(exprPtr.AsEntity.Nodes)
                    );