Cube Objectdeselection in the inspectorchanging transform of CollectableAttaching Script toPublic Variable | Transform.Rotate()Rotating CubeAdding time.deltaTime | Frame IndependentSmooth Rotation with time.deltaTimeTrying to make PrefabsMaking PrefabsLocal ViewGlobal ViewMoving GameObject in Global ViewPutting Prefabs | Values of PrefabsChanging Values in Prefab OriginChange applied to every PrefabPickUpsCreating Material to Change Color of PrefabApply the Material to an instantiated prefabApplying change to every prefabChanging Color of
a gameObject we have configured the way we want, then saved as a prefab
easily adding instances of the prefab to a scene in the editor
easily adding instances of the prefab to a scene from a script(spawning)
Prefabs | SpritePrefabs | Sprite change
Component added to Prefab
Component applied to GameObject from PrefabComponent applied to GameObject from PrefabRigidBody2D | GetComponent() | RigidScript attached to a GameObjectScript working in a GameObjectInspector | Prefab ApplyPrefab change Applied
Collision Detection
Detecting collisions between gameObject
if both game objects have 2D collider, the Physics 2D engine automatically does collision detection
Edge ColliderBox ColliderPhysics MaterialPhysics applied to Collider
Collision Resolution
Doing something based on the fact that a collision has been detected
2D Physics materials for the game object colliders determine how the Physics 2D engine resolves the collision(Friction/Bounciness)
Additional collision resolution by ourselves is possible