80 lines
3.1 KiB
Lua
80 lines
3.1 KiB
Lua
|
------------------------------------------------
|
|||
|
--作者:gzg
|
|||
|
--日期:2019-03-25
|
|||
|
--文件:Global.lua
|
|||
|
--模块:Global
|
|||
|
--描述:Lua的一些其他的公共模块存储地方。
|
|||
|
------------------------------------------------
|
|||
|
|
|||
|
--//定义全局变量
|
|||
|
CS = CS
|
|||
|
--类
|
|||
|
-- Object = CS.UnityEngine.Object
|
|||
|
-- Camera = CS.UnityEngine.Camera
|
|||
|
-- Light = CS.UnityEngine.Light
|
|||
|
-- Material = CS.UnityEngine.Material
|
|||
|
-- Texture = CS.UnityEngine.Texture
|
|||
|
-- SystemInfo = CS.UnityEngine.SystemInfo
|
|||
|
-- AnimationCurve = CS.UnityEngine.AnimationCurve
|
|||
|
-- AnimationPlayer = CS.Thousandto.Core.Asset.AnimationPlayer
|
|||
|
GameObject = CS.UnityEngine.GameObject
|
|||
|
Rect = CS.UnityEngine.Rect
|
|||
|
PlayerPrefs = CS.UnityEngine.PlayerPrefs
|
|||
|
UIEventListener = CS.UIEventListener
|
|||
|
UIAnimationModule = CS.Thousandto.Plugins.Common.UIAnimationModule
|
|||
|
LogicAdaptor = CS.Thousandto.Code.Logic.LogicAdaptor
|
|||
|
--枚举
|
|||
|
MsgBoxResultCode = CS.Thousandto.Code.Logic.MsgBoxResultCode
|
|||
|
MsgBoxIsSelect = CS.Thousandto.Code.Logic.MsgBoxIsSelect
|
|||
|
EventConstDefine = CS.UnityEngine.Gonbest.MagicCube.EventConstDefine
|
|||
|
|
|||
|
UIEventDefine = CS.Thousandto.Plugins.Common.UIEventDefine
|
|||
|
LogicEventDefine = CS.Thousandto.Code.Global.LogicEventDefine
|
|||
|
ModelTypeCode = CS.Thousandto.Core.Asset.ModelTypeCode
|
|||
|
ImageTypeCode = CS.Thousandto.Core.Asset.ImageTypeCode
|
|||
|
AudioTypeCode = CS.Thousandto.Core.Asset.AudioTypeCode
|
|||
|
|
|||
|
ItemTypeCode = CS.Thousandto.Code.Global.ItemTypeCode
|
|||
|
ItemBigType = CS.Thousandto.Code.Global.ItemBigType
|
|||
|
ItemOpertion = CS.Thousandto.Code.Global.ItemOpertion
|
|||
|
ContainerType = CS.Thousandto.Code.Global.ContainerType
|
|||
|
QualityCode = CS.Thousandto.Code.Global.QualityCode
|
|||
|
ItemTipsLocation = CS.Thousandto.Code.Global.ItemTipsLocation
|
|||
|
UIFormRegion = CS.Thousandto.Plugins.Common.UIFormRegion
|
|||
|
UIFormType = CS.Thousandto.Plugins.Common.UIFormType
|
|||
|
FriendType = CS.Thousandto.Code.Global.FriendType
|
|||
|
FSkinTypeCode = CS.Thousandto.Code.Logic.FSkinTypeCode
|
|||
|
AllBattleProp = CS.Thousandto.Code.Global.AllBattleProp
|
|||
|
GuideTriggerType = CS.Thousandto.Code.Logic.GuideTriggerType
|
|||
|
GameSettingKeyCode = CS.Thousandto.Code.Logic.GameSettingKeyCode
|
|||
|
NoticeType = CS.Thousandto.Code.Logic.NoticeType
|
|||
|
UITweenerMethod = CS.UITweener.Method
|
|||
|
UITweenerStyle = CS.UITweener.Style
|
|||
|
UIWidgetPivot = CS.UIWidget.Pivot
|
|||
|
AnimatorCullingMode = CS.UnityEngine.AnimatorCullingMode
|
|||
|
PlayerBT = CS.Thousandto.Code.Logic.LocalPlayerBT.PlayerBT
|
|||
|
PlayerBDState = CS.Thousandto.Code.Logic.LocalPlayerBT.PlayerBDState
|
|||
|
MapTypeDef = CS.Thousandto.Code.Global.MapTypeDef
|
|||
|
AudioPlayer = CS.Thousandto.Core.Asset.AudioPlayer
|
|||
|
UILabelEffect = CS.UILabel.Effect
|
|||
|
--语言类
|
|||
|
FLanguage = CS.UnityEngine.Gonbest.MagicCube.FLanguage
|
|||
|
|
|||
|
--应用的一些默认持续化数据
|
|||
|
AppPersistData = CS.UnityEngine.Gonbest.MagicCube.AppPersistData
|
|||
|
|
|||
|
--文件
|
|||
|
File = CS.System.IO.File;
|
|||
|
--路径工具类
|
|||
|
PathUtils = CS.UnityEngine.Gonbest.MagicCube.PathUtils
|
|||
|
--MD5工具类
|
|||
|
MD5Utils = CS.UnityEngine.Gonbest.MagicCube.MD5Utils
|
|||
|
--iTween
|
|||
|
ITween = CS.iTween
|
|||
|
--pk模式
|
|||
|
PKMode = CS.Thousandto.Code.Global.PKMode
|
|||
|
--协程处理
|
|||
|
LuaCoroutineUtils = CS.Thousandto.Plugins.Common.LuaCoroutineUtils
|
|||
|
--播放动作的类型,Loop,Once
|
|||
|
WrapMode = CS.UnityEngine.WrapMode
|
|||
|
PostEffectManager = CS.Thousandto.Core.PostEffect.PostEffectManager
|