using UnityEngine; using System.Collections; using System.Collections.Generic; using System; using YLBattle; /// /// 引导关卡入口 /// public class Entrance_Guide : MonoBehaviour { /// /// /// void Start() { // 战斗界面 PanelHelper.Instance.ShowPanel("UI_BaseMainWindow", (uiObj)=> { CameraManager.Instance.Init(GameObject.Find("YLBattlePrefebs/CameraManager")); YLBattle.ZoneSpawner[] szList = GameObject.Find("Spawners").GetComponentsInChildren(); foreach (var item in szList) { item.gameObject.AddComponent(); } }); } private void Update() { X2Battle.X2BattleManager.Instance.Update(); } private void EnterBattle() { // GameBattleManager.Instance().Go(); } /// /// 绑定脚本 /// /// /// private void BindScript(BUI_DamageNum numScript, EBattleTips type) { } /// /// 从bundle里获取图片 /// /// /// /// private void setSprite(string iconContainer, string icon, Action callBack) { } }