Unity Heat more Technology finishing

Source: Internet
Author: User
Tags lua

First, Hot Update learning Introduction

1. What is hot update

For example: After the game is online, players download the first version (70M or more), in the process of operation, if you need to replace the UI display, or modify the game logic, this time, if you do not use the hot update, you need to repackage, and then let the player re-download (wasting traffic and time, bad experience). The hot update allows you to update the contents of the game without re-downloading the client. Hot updates are generally used on mobile games.

2. Why C # Scripts cannot be updated directly

C # is a programming language that needs to be compiled before it can be run, and this compilation process cannot be done on the mobile platform, so when the logic of our game changes and the C # code changes, we need to re-compile in the development environment, then repackage, and then let the player download the latest version of the update. This experience is poor: Package download takes a long time, and many resources are not updated, also need to re-download, waste traffic.

3. What are the implementation methods of hot update?

1. The UI for writing games using LUA scripting or other logic Lua is a small scripting language that can run parsing across platforms without the need to compile the process 2, using C#light

3. Using C # Reflection Technology

Second, about Assetbundle

1. What is Assetbundle

Unity provides a new technology for resources, through Assetbundle, we can update the game UI through Assetbundle, or we can package scripts or other code as resources into Assetbundle and then update them to the client. Assetbundle is required in all hot and new technologies.

Third, how to use LUA for hot update

1, Unity provides a new resource technology, that is, through Assetbundle, we can update the game UI through Assetbundle, or we can package the script or other code as a resource assetbundle and then update to the client. Assetbundle is required in all hot and new technologies

2, on the mobile side can write LUA parser, through this parser, you can run the latest Lua script, and then we will control the game logic code is written in Lua script.

Iv. How to use LUA for thermal updates

1. What are the analytical techniques of LUA?

1,ulua "CP" ulua.org

2,nlua Unity supports Riley G nlua.org

3,unilua Ananda Classmate

4,slua

V. How to learn the new technology of heat

1, learn LUA programming

2, learn the interactive communication between Lua and C # through Luainterface and luanet

3, learn to use Assetbundle for resource update

4, learn Ulua simpleframework use us to create your own hot update game

Unity Heat more Technology finishing

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.