mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
add sorting layer builtin layer tips (#13530)
This commit is contained in:
@@ -137,6 +137,8 @@ export class SortingLayers {
|
||||
*/
|
||||
public static getBuiltinLayers (): ReadonlyArray<SortingItem> {
|
||||
return [{ id: 0, name: 'default', value: 0 }];
|
||||
// Tips:If want ues more builtin layer, builtin layer id should smaller than 0, custom layer id is bigger than 0
|
||||
// 'default' layer id is 0
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user