C ා design three-tier architecture based on interface Unity

Introduction The purpose of interface oriented (Abstract) programming is to reduce the coupling degree of programs, and to conform to the principle of dependency inversion. Therefore, the typical three-tier architecture UI, BLL and DAL will be expanded to UI, IBLL, BLL, IDAL and DAL after they are designed based on the interface. In the last on ...

Posted by ragtek on Sat, 21 Mar 2020 02:46:55 -0700

Beauty of unity online game architecture design (Lesson 11: role synchronization solution)

Lesson 11: role synchronization solutions In the previous chapter, we introduced the deployment of servers. In this chapter, we use deployed servers to synchronize roles. Here we first introduce what is role real-time synchronization. Online game role real-time synchronization has always been a tech ...

Posted by mwilson on Sat, 07 Mar 2020 01:51:22 -0800

unity wakes up another winform and sends data

Recently, the main thread resource of unity is occupied when saving a scenario, which causes the UI of unity itself (I think, or I think that the UI of the scenario to be saved cannot be used normally) to fail to display the progress bar. When this problem cannot be solved, I think of a compromise wa ...

Posted by stvs on Tue, 03 Mar 2020 03:44:45 -0800

Using Unity to control Canon SLR photographing and data acquisition

Canon SLRs are commonly used in the market. Whether other SLRs are also provided with SDK s has not been searched. Canon SLR generally uses EOS500D, 550D, 600D, 650D and 750D, which are supported by EDSDK. As of the beginning of 2019, Canon's official EDSDK needs to be applied on the official web ...

Posted by bw on Wed, 26 Feb 2020 23:05:53 -0800

Interaction between Android Studio and Unity -- loading the project exported by Unity into Android Studio

Version information Android Studio: (Android Studio-Help-About) Unity: (Unity-Help-About Unity) Note: Latest version of China Enhanced Edition (time: 2020-02-20) Install Android module 1, Operations in Unity 1. Create a Unity project and prepare a Unity game. Recommended tutorials: Introduction ...

Posted by dprichard on Wed, 19 Feb 2020 22:47:45 -0800

Unity uses Shader to make glass windows in the rain learning notes

Unity uses Shader to make glass windows in the rain learning notes Blur background, simulate fog Make glass transparent Handwriting Fuzzy Algorithm https://www.youtube.com/watch?v=EBrAdahFtuo Watch the notes after the oil pipe god's tutorial. Blur background, simulate fog In the textured Inspec ...

Posted by crazy_carl on Mon, 03 Feb 2020 19:30:26 -0800

TI - MCU - MSP430 user guide 32 -> SAC intelligent simulation combination

SAC (Smart Analog Combo), i.e. intelligent simulation combination, the IP core does not take a long time to come out. At present, it is only used in two films: MSP430FR2353 and MSP430FR2355. First, let's look at the internal structure of SAC: As can be seen from the above figure, the internal part ...

Posted by websitesca on Thu, 16 Jan 2020 03:17:28 -0800

Shader learning seven, UnityCG.cginc

Common shader files: e: \ other \ install \ unity \ 2018.3.13f1 \ unity \ editor \ data \ cgincludes My installation path is that without CGIncludes, you may have to go to the official website to download the corresponding version of shaders Common documents are as follows: UnityCG.cginc: contains the m ...

Posted by darkol on Tue, 14 Jan 2020 01:50:38 -0800

Unit editor - get all the windows in the unit editor and open the display for later editor expansion

Getting principle: all window interfaces of unity are inherited from the EditorWindow under the UnityEditor assembly. All editor windows are defined in the UnityEditor assembly, so we can get all the windows by getting the UnityEditor assembly through reflection. Direct code: using System; using System.Collections; using Syst ...

Posted by bkanmani on Mon, 16 Dec 2019 13:48:24 -0800

Script control of Unity 15 ugui recttransform

In Unity, Transform can be used to control the movement, scaling and rotation of 3d objects. How to set Transform in Canvas? You can use RectTransform, which inherits from Transform. // RectTransform a = this. Transform. Getcomponent < RectTransform > (); / / get the RectTransform by ge ...

Posted by Gregghawes on Fri, 01 Nov 2019 01:51:23 -0700