Tribute to the original http://blog.csdn.net/janeky/article/details/17233199#comments
Project Introduction
This is a simple unity project that implements the most basic chat room Group chat feature. After you log in to a chat room, users can enter information to speak and others can receive messages. The player can also change the nickname. The project details the process of the front-end socket communication, encoding, and parsing of th
Zhang XinLinks: https://zhuanlan.zhihu.com/p/21949663Source: KnowCopyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.After a load module depth analysis (ii), we focus on the load performance of grid resources. Today, we come back to you to uncover the load efficiency of shader resources.This is the Tiger Science and technology 59th original article, Welcome to forward sharing, without the author's autho
Http://blog.csdn.net/akof1314/article/details/38683209
This article Reprinted from: http://nedwu13.blogspot.tw/2013_11_01_archive.html
Asset bundle workflow and character discovery example-Zookeeper
There are two types of resources in Unity (Is there two types of resources ?) :
Resources: has a history of 10 years.
Asset Bundle: zookeeper AB. Now unity processes the data source center.
AB s
. With developersCommunityTo integrate the development experience of many people.
Second, unity is also a very efficient tool. With this tool, you can create a prototype within a short period of time and quickly publish this file, therefore, this tool is highly efficient.
Third, it is easy to implement cross-platform.
DAVID: We recently announced cooperation with six Chinese platforms, 91, 360, and China mobile gaming base, plus the
Tag: no 51ctoUnity adds memory when the mesh is updated, and the general method is to use an array to fill in. Vector3[] vertices = new Vector3[segmentCount * 4]; Vector3[] normals = new Vector3[segmentCount * 4]; Vector4[] tangents = new Vector4[segmentCount * 4]; Color[] colors = new Color[segmentCount * 4]; Vector2[] uvs = new Vector2[segmentCount * 4]; int[] triangles = new int[segmentCount * 6]; mesh.vertices = vertices; mesh.normals =
resource will compress the file, but it will not compress the package in its entirety. And it is a read-only folder, that is, the program can only read and write when it is running. It has different paths under each platform, but you can use Application.streamingassetspath to select the corresponding path based on the current platform.Some games in order to let all the resources use Assetbundle, will put some initial assetbundle in the Streamingassets directory, Run the program when you copy th
Let's talk about this. How to find the performance problem of mono memoryMono is primarily a code problem, and various solutions will be addressed elsewhere, starting with the resolution of each spike, which can lead to Gc,mono heap memory requests.1. First Use cube to measureRun a game on the phone, look at the data.You can see that you have applied for memory here. This time there was a downward spike, and this was a GC. Then Mono discovers that the memory you have applied for in your code has
Originally thought of this function how to realize, just in the project see here record.First of all, there will be a basic material in the model of the project, which is the material of the model that the art gives you.There may be a need to trigger an event in the game, add a streamer or stroke to your body.We know that these effects should be shown in the body, with special effects is not good-looking, to use shader to express.That's when you need to change a shader.In fact, we will not direc
applications are as follows:
? The review cycle of the App Store is difficult to control.
? Mobile apps are updated frequently.
? For large applications, the update cost is too high.
? Ultimate status
? The content of an application is completely changed without being downloaded again or stopped.
How to hot update Unity applications on iOS
? Hot update of Android applications
? Compile the Execution Code i
to the following:[Plain]View Plaincopyprint?
Blend Srcalpha Oneminussrcalpha
These are the most common mixed function factors, and others can be found in the official documentation.When using alpha blending, it is important to be careful about the problems that result from shutting down the depth cache. From this picture of unity, you can see:The depth test is done behind the vertex shader, so in the fragment shader phase, because it sh
Original link: http://blog.uwa4d.com/archives/LoadingPerformance_Shader.html
Next to the Unity Load module depth analysis of the grid, we focus on the load performance of grid resources. Today, we come back to you to uncover the load efficiency of shader resources.
This is the original Tiger science and technology articles, welcome to forward sharing, without the author's authorization do not reprint. At the same time, if you have any unique insight o
Use of Unity Profiler and unityprofiler
Select three options: Development Build, Autoconnect Profiler, and Script Debugging, as shown in.
Click the Build And Run button to compile the project And install the APK on the Android device. The Profiler is automatically opened And displayed.
Steps for manually installing APK and starting Unity Profiler are shown in.
true color). Note This format is non-compressed and consumes a large amount of disk space.
True Color: True colour, which is the highest-quality 32-bit True Color (256x256 's texture size occupies a space capacity of 256KB). Note This format is non-compressed and consumes more disk space.
Advanced: Specifies a different format for the texture (it is seldom used).
Compression Quality: Compression quality. This entry appears only under the override for
Original address: http://blog.csdn.net/u012085988/article/details/17531005Download resources: http://download.csdn.net/detail/u012085988/6770625(recently csdn seems to have a problem, hyperlinks can not be used, blog after the release of the discovery was truncated, what is the situation)Click Download Resources. This includes the files required by unity to introduce mobile MMSDK, and a compiled Android tes
Turn from: Http://www.jianshu.com/p/fe4c334ee9fe phenomenonThe unable to list target platforms was encountered while compiling the Android platform app with Unity.Error hintsDetailed error descriptions are as follows:
Error:invalid Command AndroidUnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
Commandinvokationfailure:unable to list target platforms. Please make sure the Android SDK, path is correc
First of all want to spit groove mobile mm SDK, is simply for unity developers looking for something to do. I am a unity small white, is to help colleagues to pick up this SDK, so everything in accordance with the rules of small white to write, I hope there is no omission.Example code: http://download.csdn.net/detail/oulong999/86286731. Android Library fileCreate
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
the menu bar.
OK. Select open in Visual Studio to open the project with.
Debugging is very simple. F5, attach it to the unity process, enter unity, and run the game.
Then you can perform normal debugging.
Conclusion:
VS is good, and eclipse is safe.
Windows is good, and OSX is safe.
Microsoft is doing a good job, and it is safe to quit fruit farming.
Microsoft has many great places for programmers.
When you place a file in the Asset folder in the project directory (a folder on your computer, not a folder in the Unity Interface),Unity automatically detects that a new file is added (unity keeps checking the contents of the Assets folder), and then Unity assigns a resource ID to this resource.the resources you see i
/UnityNativeDialogPluginhttp://blog.csdn.net/wwmusic/article/details/21008289
Document Information
Http://blog.csdn.net/cdztop/article/details/39805803
Last modification time:, January 1, October 05, 2014
How does Unity call Native APIs in Android and iOS?
First, unity supports Calling C ++ dll in C #, so that C ++ interfaces can be provided in
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.