Tip of the day

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 +
* 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")''
 
* 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.
  
* 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")''
+
'''Note: Place your new tip at the top of the list, not at the bottom.'''

Revision as of 21:25, 20 June 2006

  • 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")
  • 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.

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox