docs: sync api and planning docs
This commit is contained in:
@@ -189,7 +189,7 @@ Mono 运行时当前已经把这些元数据直接暴露给 C#:
|
||||
- `Component.Layer` / `Component.layer`
|
||||
- `CompareTag(...)`
|
||||
|
||||
这些接口不是副本,而是直接读写同一份原生字段。`tests/scripting/test_mono_script_runtime.cpp` 中的 `GameObjectTagAndLayerApiExposeUnityStylePropertiesAndCompareTag` 明确验证了:
|
||||
这些接口不是副本,而是直接读写同一份原生字段。`tests/Scripting/test_mono_script_runtime.cpp` 中的 `GameObjectTagAndLayerApiExposeUnityStylePropertiesAndCompareTag` 明确验证了:
|
||||
|
||||
- 托管脚本能读到原生已有的 tag / layer
|
||||
- 托管脚本写回 `"Player"` 和 `31` 后,原生对象会立即更新
|
||||
|
||||
Reference in New Issue
Block a user