LOGO渐隐渐出的实现方法.docxVIP

  • 3
  • 0
  • 约3.11千字
  • 约 8页
  • 2019-07-14 发布于湖北
  • 举报
LOGO渐隐渐出的实现方法 Posted on 2013年04月01日 by U3d / \o 查看 Unity3D脚本/插件 中的全部文章 Unity3D脚本/插件/被围观 271 次 很多游戏大作都出现过LOGO渐隐渐出的效果,以下 脚本就能直接实现: using UnityEngine; using System.Collections; public class SplashScreen : MonoBehaviour { public string levelToLoad = ; // this has to correspond to a level (filebuild settings) public Texture2D splashLogo; // the logo to splash; public float fadeSpeed = 0.3f; public float waitTime = 0.5f; // seconds to wait before fading out public bool waitForInput = false; // if true, this acts as a press any key to continue private float timeFadingInFinished = 0.0f; public e

文档评论(0)

1亿VIP精品文档

相关文档