当前位置:网站首页>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 .
边栏推荐
- Develop a simple login logic based on SSM
- Single chip microcomputer -- hlk-w801 transplant NES simulator (III)
- The technology boss is ready, and the topic of position C is up to you
- Leetcode, 3 repeatless longest subsequence
- 学习笔记2--高精度地图定义及价值
- 关于ASP.NET CORE使用DateTime日期类型参数的一个小细节
- Recommend an online interface mock tool usemock
- 什么是商业养老保险?商业养老保险安全靠谱吗?
- Exclusive delivery of secret script move disassembly (the first time)
- No converter found for return value of type: class
猜你喜欢

Learn about servlets

Infiltration records of CFS shooting range in the fourth phase of the western regions' Dadu Mansion

Learning notes 25 - multi sensor front fusion technology

6-3漏洞利用-SSH环境搭建

技术大佬准备就绪,话题C位由你决定

Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
![[IVX junior engineer training course 10 papers] 02 numerical binding and adaptive website production](/img/b7/aecb815ca9545981563a1e16cfa19e.jpg)
[IVX junior engineer training course 10 papers] 02 numerical binding and adaptive website production

Memorabilia of domestic database in June 2022
![[IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me](/img/b8/31a498c89cf96567640677e859df4e.jpg)
[IVX junior engineer training course 10 papers] 04 canvas and a group photo of IVX and me

【疾病检测】基于BP神经网络实现肺癌检测系统含GUI界面
随机推荐
电商系统中常见的9大坑,你踩过没?
Deb file installation
Study note 2 -- definition and value of high-precision map
Convolutional neural network (including code and corresponding diagram)
Comprehensive broadcast of global and Chinese markets 2022-2028: Research Report on technology, participants, trends, market size and share
Leetcode, 3 repeatless longest subsequence
With the acquisition of Xilinx, AMD is more than "walking on two legs" | Jiazi found
Load and domcontentloaded in JS
MySQL application day02
Sql--- related transactions
How does schedulerx help users solve the problem of distributed task scheduling?
MySQL winter vacation self-study 2022 12 (4)
XMind思维导图
Hcip day 14 (MPLS protocol)
Look at the industrial Internet from a new perspective and seek the correct ways and methods of industrial Internet
浅浅了解Servlet
About asp Net core uses a small detail of datetime date type parameter
[WesternCTF2018]shrine writeup
Docker installing Oracle_ 11g
技术大佬准备就绪,话题C位由你决定