Pathways
LiveEducator Hub
  • Sidebar node image
    tutorial
    结束游戏
Unity Version: 2020.3
Change
Steps
  • 1 设置 UI
  • 2 配置画布 (Canvas)
  • 3 拉伸图像
  • 4 探索 Rect Transform 组件
  • 5 配置 Rect Transform 组件
  • 6 添加获胜图像
  • 7 添加 Canvas Group 组件
  • 8 创建 GameEnding 触发器
  • 9 创建新脚本
  • 10 启动 GameEnding 脚本
  • 11 添加 Update 方法
  • 12 编写 if 语句代码块
  • 13 设置 GameEnding 脚本的变量
  • 14 总结
  • You finished!

Unity Version 2020.3

Other versions available

Don’t have a compatible version?

Install a new version from the Unity Hub

Continue
Language
Social
Learning
  • Pathways
  • Courses
  • Projects
  • Tutorials
  • Educator Hub
Live
  • Live Sessions
  • Previously recorded
Education Plans
  • Students
  • Educators
  • Institutions
  • Certifications
Resources
  • Unity Asset Store
  • Community
  • Documentation
  • Unity FAQ
  • Learn FAQ
Unity
  • Unity.com
  • Newsletter
  • Blog
  • Events
  • Unity Play
Copyright © 2026 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.