Building Unity game framework 2019 (30, 31) MenuItem display order problem & Class extraction

In the previous article, we have come up with two core learning ideas: According to the problem to learn, and collect. Take the initiative to learn and think about the applicable scenarios. Let's solve the problem of MenuItem display order today. At present, MenuItem is shown as follows: Let's take a look at the definition of MenuItem. ...

Added by billynastie on Fri, 24 Apr 2020 09:06:02 +0300

Unity Shader - simple water body - shallow to deep water color control

Simple simulation of water effect (3A game effect, please bypass) Effect: Production steps Prepare the water grid (generated by the grid script, refer to: Unity Shader - Noise noise map - simple mountain) Disturbed water grid vertex (Reference: Unity Shader - use Noise noise Noise map to generate sim ...

Added by djrichwz on Sun, 15 Mar 2020 09:42:48 +0200

Implementing general read and write of json data in unity

Using the LitJson plug-in Used by LitJson Just drag ListJson.dll into the Unity Assets folder to reference it in the code. Let's encapsulate Litjson to make it more convenient for Unity. using System.Collections; using System.Collections.Generic; using UnityEngine; using LitJson;//Introducing plug-i ...

Added by peter.t on Tue, 18 Feb 2020 04:41:18 +0200

IK in Unity (reverse dynamics)

Reverse dynamics, in short, is to make a part of the character (face, left and right hands, legs) face a certain position. Here, we need to pay attention to several points 1: The animation of a character must be a human ID (this can be found by selecting the model - rig - AnimationType) 2: Open window - > animator in the Unit ...

Added by monkeypaw201 on Fri, 03 Jan 2020 04:24:37 +0200

WPF Prism builds modular development framework

WPF Prism Prism framework extension installation Resources project Prism main project Module project Prism framework extension installation Prism has been updated to 7.x. Open VS2017 and install prism template in the extension and update. Create 3 new projects, 1 main project, 1 module project, and the last resource pr ...

Added by Senate on Tue, 03 Dec 2019 11:56:25 +0200

Performance comparison of Unity NewtonsoftJson, LitJson and SimpleJSON

Performance comparison test of Json Library in Unity Class library size comparison: Class library file type Size NewtonsoftJson .dll 353KB LitJson .dll 56KB SimpleJSON .cs 68KB Analysis time comparison:Execution times: 10000 times test method NewtonsoftJson LitJson SimpleJSON Test 1 114ms 158ms 52ms Test 2 136ms 288ms 126ms ...

Added by angel1987 on Wed, 30 Oct 2019 19:21:30 +0200

A very useful AssetBundle resource loader

Loxodon Framework Bundle is a very useful AssetBundle loader as well as an AssetBundle redundancy analysis tool.It automatically manages the complex dependencies between AssetBundles and maintains the dependencies between AssetBundles by reference co ...

Added by lisa3711 on Fri, 06 Sep 2019 06:36:54 +0300

Unity ECS+Jobs System Notebook Case Analysis 1

This chapter is for you to analyze ECS cases, resources come from, you get it by yourselves:https://github.com/Unity-Technologies/EntityComponentSystemSamples ECS Case Analysis 1. ForEach - An Introduction Case of ECS In this case, there are t ...

Added by scvinodkumar on Thu, 22 Aug 2019 15:30:19 +0300

ECS Framework Document Translation 13 Using IJob ForEach

The following documents are from the ECS website: https://docs.unity3d.com/Packages/com.unity.entities@0.0/manual/ecs_entities.html You can define IJobForEach jobs in JobComponent System to read and write component data. When this Job runs, the ECS framework finds all entities with the required com ...

Added by cpetercarter on Sun, 04 Aug 2019 16:03:04 +0300

Part 8: Implementing a set of ui component library (input, textarea component) of vue on pc from scratch

Episode 8: Implementation from scratch (input box, textarea component) Location of this episode: input component is an important tool for interaction, and it has the closest communication with users, so it has laid an important position in the component industry. textarea is also a kind of input, if possible, this episode will be finished t ...

Added by urbansmooth on Sun, 04 Aug 2019 08:11:19 +0300