Browse Source

Updated comments.

master
chrisgregan 11 years ago
parent
commit
9e23fede9e
  1. 4
      Assets/Fungus/Scripts/GameController.cs
  2. 2
      Assets/Fungus/Scripts/PageStyle.cs

4
Assets/Fungus/Scripts/GameController.cs

@ -194,8 +194,8 @@ namespace Fungus
/**
* Sets the screen space rectangle used to display the story text using a Page object.
* PageBounds objects can be edited visually in the Unity editor which is useful for accurate placement.
* The actual screen space rect used is based on both the PageBounds values and the camera transform at the time the command is executed.
* Page objects can be edited visually in the Unity editor which is useful for accurate placement.
* The actual screen space rect used is based on both the Page bounds and the camera transform at the time the command is executed.
* This method returns immediately but it queues an asynchronous command for later execution.
* @param page A Page object which defines the screen rect to use when rendering story text.
*/

2
Assets/Fungus/Scripts/PageStyle.cs

@ -55,7 +55,7 @@ namespace Fungus
}
/**
* Returns the style for Footer text.
* Returns the style for SetFooter text.
* Overrides the font size to compensate for varying device resolution.
* Font size is calculated as a fraction of the current screen height.
*/

Loading…
Cancel
Save