Unity customizes debug log files, uses vs to generate DLL files and uses dotfuscated to confuse and avoid being deserialized.1. Open VS, the blogger version is Visual Studio 2013.2, a new VC project, select Class Library, named Jefferychan, specific steps such as:3. In order to invoke the relevant files in unity, the external files are introduced here. First find UnityEngine.dll in the installation folder o
C # programmer's Unity 3D notes (9): Unity 3D test analysis,
Classes on components in Unity cannot be new and must be obtained through components. The new class 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 shown in figure Yo
Friends who develop with unity may encounter the problem that I have defined a public global variable in the script and assigned a value, but it is not the value of the variable after running, so let's explain why.The code is as follows:public class Test:monobehaviour {public int a = ten; void Awake () { a =; } void Start () { a = 30;}}because it is a public type, variable A is displayed in the
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
Original: "Unity" Bezier curve about point, length, tangent calculation in Unity C # implementationWrite in frontRecently, a path to the project has been edited, the basic idea is to meet several basic needs:"Additional instructions" in fact this article and this does not matter, you can skip the "write in front" section, cross to the body partWhen editing:① arbitrarily increase or decrease, insert, delete
With Unity3d 3.5 Open a file after the version problem, can not open, then unity will not open how to do, the URGENT request!!!You're using the old version to open the project with the new version, unity is up incompatible, you don't have to always show the Project Wizard interface, so when you open unity it opens the last project you opened, which doesn't matter
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
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.