Tip of the day
From Unify Community Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | * If for some reason objects and the backround within your scene go all streaky and messed up, try deleting the main camera(careful if it has "children")and add a new one in its place. It means you dont have to start your scene from scratch!(N.B. this may have been sorted in the recent | + | * If for some reason objects and the backround within your scene go all streaky and messed up, try deleting the main camera(careful if it has "children")and add a new one in its place. It means you dont have to start your scene from scratch! |
+ | -(N.B. this may have been sorted in the recent release; 1.5) | ||
* Use Tags to assign your own categories and attributes to game objects. Then scripts can refer to the tags. Example: ''if (contact.otherCollider.tag == "Enemy")'' or "GameObject.FindWithTag ("Enemy")" | * Use Tags to assign your own categories and attributes to game objects. Then scripts can refer to the tags. Example: ''if (contact.otherCollider.tag == "Enemy")'' or "GameObject.FindWithTag ("Enemy")" | ||
* If you want to move a file inside of a project use Unity's project view to move it and not the Finder. This way all references and import settings of the file will be maintained. | * If you want to move a file inside of a project use Unity's project view to move it and not the Finder. This way all references and import settings of the file will be maintained. | ||
'''Note: Place your new tip at the top of the list, not at the bottom.''' | '''Note: Place your new tip at the top of the list, not at the bottom.''' |
Revision as of 13:29, 23 June 2006
- If for some reason objects and the backround within your scene go all streaky and messed up, try deleting the main camera(careful if it has "children")and add a new one in its place. It means you dont have to start your scene from scratch!
-(N.B. this may have been sorted in the recent release; 1.5)
- Use Tags to assign your own categories and attributes to game objects. Then scripts can refer to the tags. Example: if (contact.otherCollider.tag == "Enemy") or "GameObject.FindWithTag ("Enemy")"
- If you want to move a file inside of a project use Unity's project view to move it and not the Finder. This way all references and import settings of the file will be maintained.
Note: Place your new tip at the top of the list, not at the bottom.