This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Naming Conventions
FluffySheep edited this page Feb 23, 2013
·
3 revisions
- Each name (variable, script, anim, etc...) must start with its corresponding naming convention. script for scripts, anim for animations, etc...
- Local variables in functions do not need to be named with the naming convention if they cannot be accessed from other scripts.
- Use underscores ("_") to separate different words in a name. Do not use capital letters because it is hard to read.
- All created Global Variables and Functions must be documented in Game Document Wiki Page.
- script_ : Name of scripts.
- var_ : Name of all public/protected/private Global Variables in a script.
- pref_ : Used on prefabs that are objects in the game.
- anim_ : An animation object using Orthello that is placed in the scene.
- cont_ : A container object using Orthello that is placed in the scene.
- txt_ : An image that is used as a texture and NOT a sprite sheet.
- sht_ : An image that is a sprite sheet for an animated sprite in game.