Tutorial by Examples

Transforms hold the majority of data about an object in unity, including it's parent(s), child(s), position, rotation, and scale. It also has functions to modify each of these properties. Every GameObject has a Transform. Translating (moving) an object // Move an object 10 units in the positive ...
Unity works with hierarchies in order to keep your project organized. You can assign objects a place in the hierarchy using the editor but you can also do this through code. Parenting You can set an object's parent with the following methods var other = GetOtherGameObject(); other.transform.Se...

Page 1 of 1