Unity releases ios and Android to obtain camera permissions

Unity releases ios and Android to obtain camera permissions preface Recently, when using Unity to develop App and release Android and ios, we encountered the problem of camera permission 1, Problem description Because the app needs to use the camera of the device, it is necessary to obtain the camera permission of the device. The pr ...

Added by jcarver on Wed, 09 Feb 2022 00:35:46 +0200

Notes and extensions of Unity3D action game development practice 2.1

2.1.1. Using coprocessing to decompose complex logic Processing asynchronous tasks with a collaborative process: when you encounter some program requirements that need asynchronous processing, you can use a collaborative process to implement themAdvantages of using collaborative process: simple and easy to implementExample: using coprocessor ...

Added by zysac on Mon, 07 Feb 2022 13:11:01 +0200

Detailed explanation of AB package in U3D (super detail, features, packaging, loading, manager)

Detailed explanation of assetbund3d in AssetBundle Concept of AssetBundle AssetBundle, also known as AB package, is a resource compression package provided by Unity for storing resources. The AssetBundle system in Unity is an extension of resource management. By distributing resources in different AB packages, you can minimize the memory pre ...

Added by learning_php_mysql on Sun, 06 Feb 2022 03:27:31 +0200

Entitas learning [1] Hello World

ECS is a data oriented programming idea. Entitas is an excellent framework under this idea. It is written according to the rules of the framework. When the program scale is relatively large, it is also easy to expand and maintain the code. It is suitable for people who are object-oriented programming but are not familiar with design patterns an ...

Added by gtanzer on Fri, 04 Feb 2022 03:33:29 +0200

Read Unity's common life cycle functions! Super detailed, disagree to argue~

1, Initialize 1.1 function description Running state initialization: (also execution sequence) Awake: call when initialization, before calling Start function.OnEnable: called when the object is enabledStart: called at the first frame only when the script instance is enabled Editor status initialization: Reset: called under the editor t ...

Added by jcinsov on Tue, 01 Feb 2022 17:26:23 +0200

Bundle encryption prevents AssetStudio from acquiring assets

Students who have done Unity bundle resources know that AssetStudio can easily crack the bundle and obtain the original resources in the project. In order to prevent their project resources from being easily obtained by others, AssetStudio has studied the following feasible bundle encryption scheme on the Internet. The following two methods are ...

Added by doctor_james on Mon, 31 Jan 2022 05:10:36 +0200

[Unity learning notes: FPS game production] character movement, rotation, promotion and rise -- (learning notes on June 13, 2021)

1, What is FPS game First person shooting game, FPS (first person shooting game), strictly speaking, first person shooting game belongs to a branch of ACT games, but like RTS games, it has developed into a separate type due to its rapid popularity in the world. FPS (first person shooting game) first person shooting game, as its name implie ...

Added by unknownproto on Sun, 30 Jan 2022 05:07:13 +0200

unity shader complex lighting (forward rendering)

Forward Rendering In previous shader writings, only one light source, parallel light, corresponded to only one pass Forward rendering calculates pass for each light source when there are multiple light sources, both parallel and spot, so it wastes performance when there are more objects There's always such a piece of code in the previous sha ...

Added by ale8oneboy on Sat, 29 Jan 2022 13:45:13 +0200

Basic lighting in Unity

Generally speaking, we need to consider three physical phenomena to simulate the real lighting environment to generate an image. First, light is emitted from the light source. Then, the light intersects with some objects in the scene: some light is absorbed by the object, while others are scattered in other directions. Finally, the camera ab ...

Added by wesley1189 on Thu, 27 Jan 2022 15:02:18 +0200

C # copy memberwise clone

C # copy memberwise clone Endless learning and excellence Ten years east of the river, ten years west of the river, don't bully the young poor Education represents your past, ability represents your present, and study represents your future Recently, I read the big talk design pattern: prototype pattern, which is mainly realized by C# deep and ...

Added by LiquidEagle on Wed, 26 Jan 2022 02:14:06 +0200