当前位置:网站首页>Private project practice sharing [Yugong series] February 2022 U3D full stack class 009 unity object creation
Private project practice sharing [Yugong series] February 2022 U3D full stack class 009 unity object creation
2022-07-02 01:26:00 【Yugong move code】
Preface
1、Create A scene PracticeOne;Delete Everything in the scene
2、Create A camera , Camera Tag It is amended as follows MainCamera
3、Create One 2D Sprite, to 2D Sprite assignment ;(2D Sripte Change the color ,2D Sprite Switch images )
--Create A simple Sprite, Use Sprite to 2D Sprite Game object assignment
4、Create One 3D Cube, to Cube assignment ;(3D Cube Change the color ,3D Cube Switch images )
--Create Material texture of material , to Cube assignment
5、Create One UI object Image/RawImage, to Image/RawImage The assignment image
6、Create An audio object Audio Source, to Audio Source Assign sound effect
7、Create Animation Animation
One 、Create A scene
menu bar : resources -》 establish -》 scene

Two 、Create A camera
Creating an empty object contains the following familiar camera :
- sign :Main Camera
- Pieces of :Camera and Audio Listener

3、 ... and 、Create One 2D Sprite
1. Set image texture

2. assignment
Just choose a picture for the wizard attribute

Four 、Create One 3D Cube
created cube There is no color, you need to set the lighting .
Set material -》 Just attach materials

5、 ... and 、Create One UI object
choice UI-> Image source image can be created UI Just bind the resource image with the object

6、 ... and 、Create An audio object

7、 ... and 、Create One Animation Animation
Create animation and animation controllers

stay cube Binding on object annimator Components

Open the animation controller window , Add animation to the animation controller . Set animation properties .

summary
This article describes the creation and basic use of various types of objects , I hope that's helpful .
边栏推荐
- 970 golang realizes the communication between multithreaded server and client
- We should make clear the branch prediction
- I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
- Global and Chinese market of picture archiving and communication system (PACS) 2022-2028: Research Report on technology, participants, trends, market size and share
- 【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
- GL Studio 5 installation and experience
- Luogu p1775 stone merger (weakened version)
- LeetCode、3无重复最长子序列
- Design and implementation of radio energy transmission system
- error: . repo/manifests/: contains uncommitted changes
猜你喜欢

学习笔记2--高精度地图定义及价值

Sql--- related transactions

Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated

How can I batch produce the same title for the video?
![[Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility](/img/8b/e51867cfe9d200ac385e1d1f01e4b3.jpg)
[Obsidian] wechat is sent to Obsidian using remotely save S3 compatibility

Learning notes 25 - multi sensor front fusion technology

SQL injection for Web Security (2)
![[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games](/img/69/44219af52baef20cedec3870147589.jpg)
[IVX junior engineer training course 10 papers to get certificates] 03 events and guessing numbers games

Single chip microcomputer -- hlk-w801 transplant NES simulator (III)

6-3漏洞利用-SSH环境搭建
随机推荐
I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
什么是商业养老保险?商业养老保险安全靠谱吗?
MySQL application day02
How does schedulerx help users solve the problem of distributed task scheduling?
Geek DIY open source solution sharing - digital amplitude frequency equalization power amplifier design (practical embedded electronic design works, comprehensive practice of software and hardware)
学习笔记24--多传感器后融合技术
Day 13 of hcip (relevant contents of BGP agreement)
What are the affordable Bluetooth headsets? Student party parity Bluetooth headset recommendation
uTools
Develop a simple login logic based on SSM
Leetcode, 3 repeatless longest subsequence
Altium designer measure distance (ctrl+m)
[dynamic planning] interval dp:p3205 Chorus
Brief introduction to the development of mobile network
Have you stepped on the nine common pits in the e-commerce system?
6-3漏洞利用-SSH环境搭建
[IVX junior engineer training course 10 papers to get certificates] 09 chat room production
Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
学习笔记2--高精度地图定义及价值
Fastadmin controls the length of fields in the table