Thoroughly understand the unity async task feature

Is it 2017?? Using collaborative programs in Unity is usually a good way to solve some problems, but it also has some disadvantages: 1. The collaborator cannot return a value. This encourages programmers to create huge monolithic collaborations instead of writing them in many small ways. There are some alternative methods, such as passing th ...

Posted by pages on Mon, 06 Dec 2021 15:11:54 -0800

Unity (study notes) -- basic overview of Animator

The three states of Animator Cintroller and the properties of animation states Original here First we have to create a new animation controller 1 right click the folder Assets2 click Create3. Click Animator Controller again This creates an animation controller What we will see is the following scenario: 1 each Animator Controller comes ...

Posted by richie on Sun, 28 Nov 2021 05:50:55 -0800

Point Product of Unity3D C#Mathematical Series

1 Definition You know, dot product gives a scalar, what does this scalar mean? 2 Geometric Meaning If b ⃗ \vec{b} b Is a unit vector, then a vector a ...

Posted by ash4u on Sat, 27 Nov 2021 10:13:41 -0800

unity decouples the project through global events

If A class wants to call the method of another class, for example, A wants to call the method of B. Method 1: Reference The simplest way is that A holds A reference to class B, that is, A has A member object of B. Mode 2: design mode (intermediary mode) Or a and B belong to the same Object C and call each other through Object C (mediator mode), ...

Posted by arpowers on Thu, 25 Nov 2021 16:32:10 -0800

[Unity] create a custom Main Light node for ShaderGraph

summary On the first page of Baidu, this question basically comes from the same article. I didn't find the original article address, so I attached a reprint: Expand Shader Graph in Unity 2019.2 to realize custom lighting However, like the title, this implementation is based on the 2019.2 version, and there will be various problems when migratin ...

Posted by gordong1968 on Tue, 23 Nov 2021 21:38:14 -0800

Shader dissipation effects (such as returning to the city)

In many games, you can see special effects such as dissipation, combustion and so on. For example: So write a simple shader code to dissipate special effects today!!! (learning) Zhuang understand Video learned, strong novice learning Zhuang understand (video)     Step 1: think about what we can see! We can see the dissipation of th ...

Posted by ro1960 on Tue, 23 Nov 2021 14:31:33 -0800

Android studio study notes - try turning on the microphone

I haven't written java for a long time. I came back this time because the voice function is required before the project. Turing connected with the company only supports amr and opus audio format upload for recognition, However, as far as I know, the microphone provided by unity only supports wav and mp3. Therefore, the previous solution has ...

Posted by Markx on Fri, 19 Nov 2021 22:14:41 -0800

Unity - skill system

Unity skill system (III) Unity skill system (I) Unity skill system (II) Demo presentation 6, Buff system Buffs are divided into gain and loss buff s, which should be distinguished; Originally, it was planned to use and or not to record buffs. A skill may have multiple buffs, but it is the same as using list to store buffs; A skill can only ha ...

Posted by toodi4 on Thu, 11 Nov 2021 18:26:50 -0800

Unity - skill system

Skill system (I) 1, Demo presentation 2, Function introduction It integrates skills, cooling, buff, UI display, countdown, animation, etc; Skill type: Ballistic skill, animation event adopts delayed calling skill according to the number of frames, user-defined release position (offset and launch point), buff type skill (self gain buff, enemy ...

Posted by Paws on Wed, 10 Nov 2021 11:30:39 -0800

Unity and database

Install database - connect your computer host - create database 1, Database design 1. How to represent the relationship between databases in database design? relational model 2. What are the relationships between entity sets X and Y? One to many, one to one, many to one, many to many 3. What are the functions of the three paradigms of database ...

Posted by kobayashi_one on Tue, 09 Nov 2021 14:03:07 -0800