Skip to content

Commit

Permalink
Add a comment for PrimitiveType.
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Dec 13, 2024
1 parent 94bd99b commit 6c42579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/primitive/primitive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ enum PrimitiveType {
PLANE = 6,
QUAD = 7,
}
Enum(PrimitiveType);
Enum(PrimitiveType); // Need reversed keys in Primitive.onLoaded, so use Enum to generate reversed keys.

/**
* @en
Expand Down

0 comments on commit 6c42579

Please sign in to comment.