CG数据库 >> 高级事件系统X脚本Unity游戏素材资源

本游戏资料是个关于高级事件系统X脚本Unity游戏素材资源,大小:1.03 MB  ,格式:unitypackage,使用软件:Unity,供广大设计师学习使用,语言:英语。

Unity3D是一个让你轻松创作的多平台的游戏开发工具,是一个全面整合的专业游戏引擎。Unity代表了一个质的飞跃——内置的光照贴图(lightmapping)、遮挡剔除(occlusion culling)和调试器。编辑器经过彻底革新,让你可以获得卓越的性能体验。不可思议、无法阻挡的产品已经看到了曙光。

Unity是一款跨平台的游戏开发工具,从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用,Unity还包含了价值数百万美元的功能强大的游戏引擎。Unity 4作为一个游戏开发工具,它的设计主旨就是让你能够创建令人惊讶的游戏。如果你之前尝试过Unity,请查看Unity 3都做了哪些更新。如果你是第一次尝试,那就好好看看吧,看Unity都能为你带来什么。Unity作为一种开发环境,可让你脱离传统的游戏开发方式,以一种更简单的方式专注于你的游戏开发。开发网络游戏、移动游戏、单机游戏,Unity都能完全胜任。

Event System X Scripting

Advanced Utilities

Requires Unity 5.0.0 or higher.

Event System X

Event System X allows for the use of Events in the classic sense and in an automatic fashion based on defined triggers saving you time creating how you would fire events.

Features:

•Broadcast empty event messages.

•Broadcast any type of message object.

•Manual Event broadcasting

•Automatic Event broadcasting based on triggers

•Automatic Event broadcasting based on complex sequences

•Remapping Event triggers using "InputRemapper.RemapDown(eventX, callback)"

•Customize automatic broadcast with EventChannels and settings

•One Event can have any number of listeners, and any number of message types

•Listeners have names, tags, and objects that can be set or left null used to identify them

•Listeners define what messages they receive

•High performance

•And more...

Getting Started Docs

In Depth Documentation

Simple Example:

Registering a listener to an event...

var listener = EventManagerControllerX

.GetEvent("My Event Id")

.Register{int}(MethodThatTakesAnInt)

public void MethodThatTakesAnInt(int num){ Debug.Log("Number is "+ num); }

Manually sending a message...

EventManagerControllerX

.GetEvent("My Event Id")

.Broadcast(5);

See the documentation "Example Scene Code" for 14+ different examples on how to use Event System X, or watch the videos provided.=

高级事件系统X脚本Unity游戏素材资源的图片1
高级事件系统X脚本Unity游戏素材资源的图片2
高级事件系统X脚本Unity游戏素材资源的图片3

发布日期: 2017-6-29