Back to CatalogThe previous Unity article was primarily a basic implementation, and there was no particular place where unity could easily implement the IOC control inversion of the application, which gave our application a higher degree of coupling and increased testability, of course, the premise of which is interface-oriented programming, If you are facing the specific implementation to write the program
Unity officially provides 4 ways to load scenes (scene), respectively:1. Application.loadlevel (): Synchronous loading2. Application.loadlevelasync (): Asynchronous load3. Application.loadleveladdictive (): Synchronous add-on loading4. Application.loadleveladdictiveasync (): Asynchronous add-on loadingThe following four methods are presented and analyzed briefly:1. Synchronous loading: Assuming that the current scene is a, we are going to switch to th
Basic operations of unity-nashan, that water, that day, basic operations of unity --
Here we will introduce how to add terrain and space boxes and textures to unity.
Unity version unity4.6.1f1 pro
Create scene (scenario)
No scene is created. There is only one camera.
Create a new terrain
Select the te
New Ideas of playing transparent videos by Unity and new ideas of unity videos
Unity 2017.2
We do not know from that version that unity has supported Google's webm format. This format supports videos with alpha channels, that is, transparent videos.
First, you need to make a transparent video. in AE, you can export
Unity plugin TextFx and unity plugin TextFx
Sun Guangdong 2015.6.14
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~TextFx Unity Plugin v3.0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
Use Unity GUI TextFx
TextFx 3.0 comes with support for Unity's excellent new built-in GUI system ("UGUI" is supported ").The plu
The Unity project white issues on the device scene, and the unity scenario0x00: Preface
I haven't updated my blog for a few months. In fact, evernote has a lot of notes. I just want to organize these content into a series and send them together, during the past one and a half years, we have been working on the Unity project and accumulated a lot of experience. Af
Tag: sys dex RING View res not open more eraseWhen you need a co-process in the Unity editorWhen we customize the Unity Editor, we often need to start an additional process or thread. For example, when performing some interface updates, requires a large number of calculations, if the user is constantly correcting a parameter, such as from 1 to 2, this change process to go through countless intermediate step
Recently discussed in unity to play with the alpha channel video, at the beginning of a little effect, and then search for various solutions, summed up three kinds of less good solutions, there is a better plan for everyone to put forward.The programme focuses on two areas:1. Can I play a video with an alpha channel?2. Hierarchical relationship of video and three-dimensional scenes played1. CullingUse a stripped-out shader without rendering the black
Unity ShoeBox Extract Sprites to Unity format, shoeboxsprites
Cutting a transparent image
ShoeBox
Extract SpritesFunction. Drag the image to the Extract Sprites icon to automatically cut the image, as shown in:
Click
SettingsYou can set it in detail. Here, set Clusters Merge Sub Items to false without merging subitems, change File Name to slice‑0000.png, and click
ApplyYou can. Then press
SaveYou can export
OOPThe previous use of combinatorial thinking is the construction of tree, leaf model, such as the network element model in telecommunications. This idea belongs to the core idea of unity 3D – components. In player, A, B, C can freely use the start, update function (please do not consider the order of execution, the sequence of script components can be adjusted externally, but not significant), most importantly, the relationship straightened out-the
resource stripping, recording, and then packaging, wait for the time to load back.This is the main development work for each project's own packaging process.Now the Unity version (our project is unity5.3.5f) provides a stripping method, and the previous unity version needs to be stripped. I'll talk about it in the next two. (Although you only need one, in order to tell the details of both)Next, we'll talk
A class on a component in unity cannot be new, it must be fetched through the component, and the new thing is null. if (Amainfo.namehash = = Animator.stringtohash (Base layer.idle)){M_animator. Setbool (Run, true);}when the code cannot be executed, click Bake in the navigation panel, as You must add a collision component for the collider, otherwise the Physics.raycast function cannot detectDelete destory time, otherwise the resulting multithreading
As with other application blocks of the Enterprise Library, Unity behavior can be specified by configuration.
The Unity Application Block can read configuration information from an XML configuration file. A configuration file can be a web.config of a app.config or asp.net application of a Windows Forms application. Of course, you can also load configuration information from any other XML-formatted file or
As we all know, the order in which a script in unity is executed is awake, Start, Update, lateupdate, etc., but what is the order of execution between different scripts?For example, I have two scripts Script1 and Script2, so what is the order of awake execution for these two scripts?To know the truth we have to understand the unity behind the operating principle, in fact,
Breakpoint debugging is a must-have feature for programmers. Unity3d supports the writing of JS and C # scripts, but many people may not know, in fact, Unity3d can also be a breakpoint debugging program. However, this breakpoint debugging function is limited to using the MonoDevelop editor that comes with Unity3d. And with Visual Studio, it doesn't work. I heard there's a thing called Unityvs. You can use VS to debug breakpoints on
Study Notes for beginners, please correct me if you have any mistakes. The number is also please point out, thank you.File files: Create/Open/save scenes, create/open/Save projects, publish gamesEdit: Undo, Redo, Cut, copy, paste, run, pause, project setup, etc.Asset Asset: Creating an import ResourceGameobject Game object: Create a variety of game objectsComponent components: Adding various components to a game objectMobile input Phone Inputs: if activated, you can use the
To defeat the enemy, first of all to understand the enemy, this is not what I said, this is what grandson said. ^_^First of all, I confused, so I put a demo,demo will be attached below, statement, this is not my writing, I also download others, address: http://game.ceeger.com/forum/read.php?tid=787fid=7I am a principled program dog!OK, install Unity,window version, then unzip shoter this folder, then open Unity
2016-12-17/unity5.5.0f3/xcode_8.1 (8b62)/macbook/os X 10.11.6Reference Address:https://the-nerd.be/2015/11/13/integrate-unity-5-in-a-native-ios-app-with-xcode-7/Http://www.jianshu.com/p/715adc38e451 recently received a lot of orders are required to embed AR module into the original app, instead of developing new apps, whether it is high-pass Vuforia or the Easyar, to achieve model animation, Either write the rendering yourself with opengles, or use
This series mainly references the book "Unity shaders and effects cookbook" (thanks to the author of the original book) and adds a bit of personal understanding or expansion.
Here are all the illustrations in this book. Here is the code and resources required for this book (you can also download them from the official website ).
========================================================== ===================================================== =====
Pre
Unity-those things about optimization (1), unity-things
Recently, a small project requires that the package size cannot exceed 30 mb.
I did a small experiment in the evening, and the method was indeed very good. However, a lot of things I didn't understand are clear now. I'm a newbie! I hope this article will help you. Thank you!
Experiment results:
Experiment results:
1. There is only one naked cube
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.