Unity2019 collision test of particle system

Component introduction Collision and triggering are separate Collision can rebound operation, set the speed of particles There are four states of trigger time, inside and outside the target collision box, enter and exit, and three operations are optional 1 ignore this particle [callback doesn'UTF-8...

Posted by php1999 on Sun, 16 May 2021 03:04:34 +0930

Using unity Brainless to Make Snakes

Import Resource Pack 1. Make a UI and hierarchical relationship as illustrated below. First, create an image in the UI that is renamed Bg (Attribute panel with background table), and set the child object (image) under Bg, that is, all food. (2) Create a text named Title under Canvas and write tUTF-8...

Posted by scott212 on Wed, 02 Jun 2021 02:06:00 +0930

Unity File Compression and Thread Use

I. Preparations Import ICSharpCode.SharpZipLib.dll. Download address:https://download.csdn.net/download/yasinxin/11861899 2. zip compression code Reference address:https://www.cnblogs.com/kanekiken/p/8033685.html using System.IO; using System.Collections; using UnityEngine; using ICSharpCode.ShUTF-8...

Posted by Access on Fri, 04 Jun 2021 02:00:02 +0930

3D two man desert tank battle based on Unity official material

1.1 Preface This article is to summarize and record the contents of the knowledge learned. Some time ago, following the open course (confiscating the advertising expenses, let alone which one), we learned and produced the first 3D game - "3D tank war", which is a two person game. The left playeUTF-8...

Posted by Kingy on Sat, 19 Jun 2021 05:44:18 +0930

Development of Unity3D shooting game Demo

Introduction to DEMO There is a wall made up of many small rectangular blocks. The way to play the game is to launch a small ball by clicking the left mouse button. The small ball hits the wall, making the rectangular blocks of the wall be smashed open. Game display Development process Create UTF-8...

Posted by d22552000 on Wed, 14 Jul 2021 06:15:11 +0930

Source code analysis of Unity UGUI

preface The purpose of this article is also because I met the interviewer to ask me questions about the principle of UGUI. Although I have read it, I have not sorted out a complete knowledge framework, so I may not be clear when I describe it. If you don't know what you say, others will not. WhUTF-8...

Posted by TrickyPhillips on Mon, 19 Jul 2021 08:50:12 +0930

unity3d:GC Optimization

https://edu.uwa4d.com/course-intro/0/165?purchased=true Reading Notes Reduce the number of objects memory alignment Use a common entity and cache objects when sending data over the network // StructLayout enables designers to control the physical layout of data fields for a class or structure /UTF-8...

Posted by jennyp on Wed, 15 Dec 2021 03:17:55 +1030

Principle and implementation of shadowmap

Recently, I came into contact with the part of shadow rendering when I was pre researching a pbr model, because I used Unity's built-in macro to generate shadows and needed directional light. There are various ways to make shadows, and shadowmap is the most typical way to generate shadows. In UUTF-8...

Posted by carrotcake1029 on Sat, 18 Dec 2021 05:52:48 +1030

A simple framework for side dishes -- synchronous reconfiguration based on Addressable load / cache pool

preface The previous articles introduced Addressable resource loading as well as Design of cache pool . At that time, the design concept of the project was recorded, and the synchronous design method has not been given by Addressable at the time of design. Although Addressable is simple to use,UTF-8...

Posted by zerogreen on Fri, 31 Dec 2021 21:32:21 +1030

Unity3D - explain Quaternion class

1, Introduction Quaternion, also known as quaternion, is a mathematical concept discovered by Irish mathematician William Luyun Hamilton in 1843. The multiplication of quaternions does not conform to the commutative law. From an explicit point of view, quaternions are an noncommutative extensioUTF-8...

Posted by slawrence10 on Mon, 03 Jan 2022 06:14:28 +1030