Renderer.worldToLocalMatrix

Switch to Manual
public Matrix4x4 worldToLocalMatrix ;

Description

将点从世界空间转换到本地空间的矩阵(只读)。

This property MUST be used instead of Transform.worldToLocalMatrix, if you're setting shader parameters.