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
The code is as follows:Using Unityengine;using system.collections;//1. The UI is introduced. Using Unityengine.ui;public class Testsliderevent:monobehaviour {//2. Define a Text target object. Public Text TARGETTEXTOBJECT;//3. Define a Slider target object. Public Slider targetslideroject;//with the initializationvoid Start () {}//Update is called once per framevoid Updat E () {//4. Update content. Targettextobject.text = "Sliding value is" + Targetslideroject.value;}}Tie the code directly to the
Solution: http://www.cnblogs.com/fly-100/p/4570366.htmlHere we add a detection function directly to the place where Input.getmousebuttondown (0) is used, checkguiraycastobjects, as follows BOOL Checkguiraycastobjects () { Pointereventdata eventData = new Pointereventdata (main.instance. EventSystem); Eventdata.pressposition = input.mouseposition; Eventdata.position = input.mouseposition; listGraphicraycaster. Raycast (EventData, list); Debug.Log (list. C
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
Time came to midsummer, Beijing Uug activity also came to the eighth issue. The theme of this event is "Unity virtual reality Combat skills", for which we have invited 4 senior industry gods. This time we are still at the Microsoft Building, 5th Danleng Street, Haidian District, Beijing, where we are grateful for Unity's official support and Microsoft's venue support. At the same time also very grateful for the serious work of volunteers.Start the eve
http://dearymz.blog.163.com/blog/static/20565742013341916919/
Editor:
Hierarchy window is the Game object list in the scene
The Project window is the contents of the Assets folder on disk that you can use to create a game Object
Debugging:
Debug Log with Debug.Log () or Print function
At present completely unable to use VisualStudio to debug, can only use MonoDevelop. Because unity is u
()) {Qbytear Ray RecvData; Recvdata.resize (Udpsocket->pendingdatagramsize ()); Udpsocket->readdatagram (Recvdata.data (), Recvdata.size (), clientip,clientport); Read the data from the sender's package and the IP and port and assign the variable to the class statustext+= "Connet from" +clientip.tostring () + ":" +qstring::number (ClientPort) + ""; Statustext+=recvdata+ "\ n"; Display to Status label Ui->statuslabel->settext (statustext); Forward back Socketsend
Consider implementing the server in C + +, unity does the client to implement TCP network communication.The following TCP single-threaded connections are used.Qt C + + service sideSet up a QT GUI project, put a label on the interface to display the connection status, two buttons as instructions to send control.Remember to include the network module in the Pro fileWidget.h#ifndef widget_h#define widget_h#include Widget.cpp#include The main.cpp is not c
Move the Unity slider out and move the unity slider out.
Unity slider fly out
Using UnityEngine; using System. collections; public class ThrowBasketBallTest: MonoBehaviour {public float BeginTime; public float EndTime; public float TimeInterval; public float Force; public Vector3 BeginPosition; public Vector3 EndPosition; public Vector3 Direction; void Start (
from the end of last year, I responsible for establishing a template project in unity to access iOS, Android-related SDKs, all the way down, filled a lot of pits, the anguish of which deep experience. So decided to fill out the pits themselves, so that we can walk more smoothly, but without my consent, prohibit reprint, thank you.The following will be included in the next chapter (constantly updated):Focus on exporting the Xcode project directory stru
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.