Untiy3D study notes recorder

1. The origin and center point

pivot (origin): the point where the position moves (the origin of the model does not change)

center (center point): Calculate the center of the model, and you will find changes (for example, if there are two cubes, his center point will be calculated in the middle of the two models)

Second, prefabs: When a game object is associated with a prefabs, modifying the prefabs will modify the properties of the game object, but if we modify the properties of the game object first, the properties of the game object will become thicker, then modifying the prefabs will not Will modify the thickening property of the game object, (there will be a break prefabs instance in the gameobject in the menu bar to delete the association with prefabs)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325086687&siteId=291194637