---
title: "强哥UI课"
author: "Perrin Yong"
author_profile: https://www.pystone.net/profile/
published_by: "Perrin Yong"
canonical: https://www.pystone.net/notes/unity-ui-course-notes/
type: note
content_role: unspecified
visibility: public
id_stability: rename-stable
source_path: "10-计算机、信息技术与工程/05-游戏图形与运行时/Unity/强哥UI课.md"
content_hash: aa98732fe6ba730417850ef57d5f8b8f320492c308c871f464e56c414faa0c48
knowledge_version: 224c990773de.5fa8af6e39fa
site_commit: 224c990773de166d23a886306577dd90379529ce
notes_commit: 5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a
---
# 强哥UI课

> 创建时间：2020/7/23 15:38

## 基础组件

### Canvas组件

Render Mode

  * Screen Space - Overlay

  * Screen Space - Camera

  * World Space

Pixel Perfect 在要提高清晰度的时候才选择。 一般不推荐选择

### Rect Transform

### CanvasRenderer

### EventSystem & GraphicRaycaster

找被点中的物体

### Event Trigger

这个是UGUI里面封装好的一个Component，里面预设了很多UGUI支持的UI事件，方便大家用来自定义一些消息响应，比如点击事件，也可以用来制作一些特殊的UI响应，例如长按事件

## Lesson2

### 分辨率适配
