Exemplo n.º 1
0
        public override void OnAttachToEntity(SceneEntity ety)
        {
            BaseInit(ety);
            AssetLoader.GetInstance().PreLoad(URLUtil.GetRootPath() + "/ResourceLib/Effect/effect_weapon_badao01.res");

            Regist(ControllerCommand.WEAPON_TRAIL, OnWeaponTrailChange);
            Regist(ControllerCommand.EQUIP_CHANGE, OnEquipChange);
        }