码迷,mamicode.com
首页 > 编程语言 > 详细

unity的插件 TextFx

时间:2015-06-16 09:20:25      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

孙广东 2015.6.14

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TextFx Unity Plugin v3.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

技术分享

使用 Unity GUI TextFx

 TextFx 3.0 comes with support for Unity‘s excellent new built-in GUI system (就是支持 "UGUI").
插件重载了UI Text components.

创建一个新的 TextFxUGUI instance
 ++++++++++++++++++++++++++++++++

  -  添加一个 TextFxUGUI 实例画布中,方式和UGUI 文本元素完全相同   :
  -   GameObject -> UI -> TextFx Text
  -   正如你期望 UGUI 画布上创建一个 TextFxUGUI 组件在Text上 
  -  点击 "Open Animation Editor" 按钮在  TextFxUGUI inspector 面板上, 打开 TextFx Editor 面板
  -  Play around ,添加  Intro, Main 和 Outro animation 动画在 Quick Setup editor , or get straight into the creating your own totally bespoke animations in the Full Editor!
  
 Convert an existing UI Text
 +++++++++++++++++++++++++++

  - 你能够很容易的转换 任何存在的 UI Text 组件到 TextFxUGUI 组件,  使用 TextFx 菜单项。
  - 选择你的 UI Text 对象在编辑器上 :
  -   Tools -> TextFx -> "Convert UGUI Text to TextFx"
  -  This will keep your text exactly as it is, but setup it up as a TextFxUGUI instance instead!


设置 TextFx 本地实例

 TextFx 3.0 has it‘s own text rendering system included as well!
 This is useful for setting up text animations which are unrestricted by any GUI rendering system. It‘s more like the old Unity 3D Text, except with awesome animations!
 
 Create a New TextFxNative instance
 ++++++++++++++++++++++++++++++++
 
  - Add a TextFxNGUI instance to your scene using the following menu item shortcut
  -   GameObject -> TextFx -> Text
  - This will create a TextFxNative component in your scene.
  - Position it whereever you like!
  - Click the "Open Animation Editor" button at the bottom of the TextFxNative inspector panel to open the TextFx Editor panel
  - Play around with adding Intro, Main and Outro animation phases with the Quick Setup editor, or get straight into the creating your own totally bespoke animations in the Full Editor!


TextFx Animations脚本

 TextFx animations 动画脚本 是很容易的 !
  -  添加 TextFx namespace 命名空间在你的脚本
  -  "using TextFx;"
  - 获得一个动画类的引用 (TextFxNative, TextFxUGUI, TextFxNGUI)
  - All key method calls are accessible through the AnimationManager property.
    * effect.AnimationManager.PlayAnimation();
     * effect.AnimationManager.ResetAnimation();
     * effect.AnimationManager.ContinuePastBreak();
     * effect.AnimationManager.ContinuePastLoop();
  - See http://www.codeimmunity.co.uk/TextFx/scripting_reference.php for a list of the other script Methods and Properties available.
   Note: EffectManager is the legacy name for the newer TextFxAnimationManager.


快速安装 TextFx 编辑器

  - 打开 animation editor 面板

   * 单击 "Open Animation Editor" 按钮,在任何TextFx 对象的 inspector 面板上。
   * Window -> TextFx -> Animation Editor
  -  默认Quick Setup 面板被选择.
  -  Play around with the Intro, Main and Outro drop downs in order to select different animations to apply.
  - Play button is at the top of the Animation Editor window!


Full TextFx Editor

 - 打开 animation editor 面板

   * 单击 "Open Animation Editor" 按钮,在任何TextFx 对象的 inspector 面板上。
   * Window -> TextFx -> Animation Editor
  - Use the tabs near the top of the panel to select "Full Editor"
  - Here you are exposed to the bare bones of the animation editor, set free to create whatever you like!
  - A good tip for learning what it all does is to import anims in the Quick Setup editor and then look at how it all works in the Full Editor. Maybe make modifications from there!
  - See the online docs for more info on what it all means:
   http://www.codeimmunity.co.uk/TextFx/creating_an_animation.php


Support

Support Website:  http://www.codeimmunity.com/TextFx


Credits

https://www.assetstore.unity3d.com/#/content/5788  - Boomlagoon JSON; a great light-weight free JSON library used for the Import/Export functionality
http://www.freesfx.co.uk          - sound effects used in demo scenes
http://www.1001freefonts.com/        - fonts used in demo scenes

技术分享

技术分享









??

unity的插件 TextFx

标签:

原文地址:http://blog.csdn.net/u010019717/article/details/46490875

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!