Skip to content

Commit cd1e14d

Browse files
committed
Update README
1 parent 714db99 commit cd1e14d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ Unityレイヤーはカメラレイヤーと物理レイヤーの二つの用途
4242
#### `const int UnityLayerCount = 32`
4343
Unityレイヤーのレイヤー数
4444

45+
#### `const int ExecutionOrder = -30000`
46+
LayersManagerコンポーネントの実行タイミング
47+
4548
#### `PhysicsLayerInfos PhysicsLayerInfos { get; }`
4649
物理レイヤーに関する情報をまとめるクラスのインスタンスを取得
4750

@@ -67,6 +70,10 @@ Unityレイヤーの有効なレイヤーID一覧を取得
6770
Unityレイヤーの有効なレイヤー名一覧を取得
6871

6972
### メソッド
73+
#### `void UpdateParams(int cacheCapacity = -1, float compactionInterval = -1f)`
74+
Layerごとの初期キャッシュ数と、コンパクションをおこなうインターバルを設定
75+
`LayersManager.ExecutionOrder`より前のタイミングで呼び出すことで、初期値を実行時にプログラムから変更できる
76+
7077
#### `Dictionary<int, string> GetIgnoreLayers(int layerID)`
7178
レイヤーIDが衝突しないレイヤーを一覧で取得
7279

0 commit comments

Comments
 (0)