当前位置: 首页 > news >正文

做网站运营用什么软件seo是啥软件

做网站运营用什么软件,seo是啥软件,网页设计与网站建设在线考试,wordpress kallyasAlex教程每一P的教程原代码加上我自己的理解初步理解写的注释,可供学习Alex教程的人参考 此代码仅为较上一P有所改变的代码 【Unity教程】从0编程制作类银河恶魔城游戏_哔哩哔哩_bilibili UI_itemSlot.cs using System.Collections; using System.Collections.Gen…

 Alex教程每一P的教程原代码加上我自己的理解初步理解写的注释,可供学习Alex教程的人参考
此代码仅为较上一P有所改变的代码

【Unity教程】从0编程制作类银河恶魔城游戏_哔哩哔哩_bilibili

UI_itemSlot.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;public class UI_itemSlot : MonoBehaviour
{[SerializeField] private Image itemImage;[SerializeField] private TextMeshProUGUI itemText;public InventoryItem item;public void UpdateSlots(InventoryItem _newItem){item = _newItem;itemImage.color = Color.white;if (item != null){itemImage.sprite = item.data.icon;if (item.stackSize > 1){itemText.text = item.stackSize.ToString();}else{itemText.text = "";}}}}
Inventory.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;public class Inventory : MonoBehaviour
{public static Inventory instance;public List<InventoryItem> inventoryItems;//inventoryItems类型的列表public Dictionary<ItemData, InventoryItem> inventoryDictianory;//以ItemData为Key寻找InventoryItem的字典[Header("Inventory UI")][SerializeField] private Transform inventorySlotParent;private UI_itemSlot[] itemSlot;//UI Slot的数组private void Awake(){if (instance == null)instance = this;elseDestroy(gameObject);//防止多次创建Inventory}public void Start(){inventoryItems = new List<InventoryItem>();inventoryDictianory = new Dictionary<ItemData, InventoryItem>();itemSlot = inventorySlotParent.GetComponentsInChildren<UI_itemSlot>();//拿到的方式有点绕,显示拿到Canvas 里的 Inventory 然后通过GetComponentsInChildren拿到其下的使用UISlot}private void UpdateSlotUI(){for(int i = 0;i < inventoryItems.Count;i++ ){itemSlot[i].UpdateSlots(inventoryItems[i]);}}public void AddItem(ItemData _item)//将物体存入Inventory的函数{if(inventoryDictianory.TryGetValue(_item,out InventoryItem value)){value.AddStack();}//字典的使用,通过ItemData类型的数据找到InventoryItem里的与之对应的同样类型的数据else//初始时由于没有相同类型的物体,故调用else是为了初始化库存,使其中含有一个基本的值{InventoryItem newItem = new InventoryItem(_item);inventoryItems.Add(newItem);//填进列表里只有一次inventoryDictianory.Add(_item, newItem);//同上}UpdateSlotUI();}public void RemoveItem(ItemData _item)//将物体剔除Inventory的函数{if(inventoryDictianory.TryGetValue(_item,out InventoryItem value)){if (value.stackSize <= 1){inventoryItems.Remove(value);inventoryDictianory.Remove(_item);}elsevalue.RemoveStack();}UpdateSlotUI();}}
ItemObject.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;public class ItemObject : MonoBehaviour
{private SpriteRenderer sr;[SerializeField] private ItemData ItemData;private void OnValidate()//https://blog.csdn.net/paserity/article/details/130014259//大抵就是在Unity加载脚本或检查器中的值更改时调用。实时更新资产文件,比如材质、shader{GetComponent<SpriteRenderer>().sprite = ItemData.icon;gameObject.name = ItemData.name;}//private void Start()//{//    sr = GetComponent<SpriteRenderer>();//    sr.sprite = ItemData.icon;//}private void OnTriggerEnter2D(Collider2D collision){if(collision.GetComponent<Player>()!= null){Inventory.instance.AddItem(ItemData);Destroy(gameObject);}}}


文章转载自:
http://dialytic.c7512.cn
http://polynices.c7512.cn
http://brahmanic.c7512.cn
http://synarchy.c7512.cn
http://tautology.c7512.cn
http://blether.c7512.cn
http://karabiner.c7512.cn
http://zoolith.c7512.cn
http://overyear.c7512.cn
http://prudentialist.c7512.cn
http://aromaticity.c7512.cn
http://indigest.c7512.cn
http://gadsbodikins.c7512.cn
http://blaff.c7512.cn
http://panbroil.c7512.cn
http://reservation.c7512.cn
http://ccu.c7512.cn
http://compaginate.c7512.cn
http://vannetais.c7512.cn
http://pentaprism.c7512.cn
http://regalia.c7512.cn
http://halfhour.c7512.cn
http://dynamics.c7512.cn
http://plumbago.c7512.cn
http://corruptness.c7512.cn
http://crudification.c7512.cn
http://disbranch.c7512.cn
http://pinyin.c7512.cn
http://alackaday.c7512.cn
http://jabez.c7512.cn
http://ladyhood.c7512.cn
http://rewrite.c7512.cn
http://squarely.c7512.cn
http://gesticulate.c7512.cn
http://legitimatize.c7512.cn
http://miniaturization.c7512.cn
http://marabou.c7512.cn
http://dusty.c7512.cn
http://subcutis.c7512.cn
http://bodleian.c7512.cn
http://neutercane.c7512.cn
http://mia.c7512.cn
http://hebron.c7512.cn
http://deception.c7512.cn
http://hydrothermal.c7512.cn
http://tideless.c7512.cn
http://lubber.c7512.cn
http://hypotaxis.c7512.cn
http://unequalize.c7512.cn
http://cimex.c7512.cn
http://purely.c7512.cn
http://pedicab.c7512.cn
http://nonconducting.c7512.cn
http://crossbedding.c7512.cn
http://minar.c7512.cn
http://chaussure.c7512.cn
http://crosspatch.c7512.cn
http://diminishable.c7512.cn
http://mmf.c7512.cn
http://tarmac.c7512.cn
http://hieroglyphic.c7512.cn
http://vinny.c7512.cn
http://conspire.c7512.cn
http://brutify.c7512.cn
http://gallet.c7512.cn
http://immensity.c7512.cn
http://endonuclease.c7512.cn
http://mojave.c7512.cn
http://epitoxoid.c7512.cn
http://tatty.c7512.cn
http://servomechanism.c7512.cn
http://rhodora.c7512.cn
http://alsatian.c7512.cn
http://imprudence.c7512.cn
http://monochrome.c7512.cn
http://ardently.c7512.cn
http://diaphone.c7512.cn
http://deprival.c7512.cn
http://filicoid.c7512.cn
http://unbowed.c7512.cn
http://innoxious.c7512.cn
http://breastplate.c7512.cn
http://syllabus.c7512.cn
http://entad.c7512.cn
http://othergates.c7512.cn
http://dma.c7512.cn
http://heilong.c7512.cn
http://animality.c7512.cn
http://escrime.c7512.cn
http://ethernet.c7512.cn
http://jst.c7512.cn
http://chiv.c7512.cn
http://nobleman.c7512.cn
http://lacunary.c7512.cn
http://demonolatry.c7512.cn
http://well.c7512.cn
http://likuta.c7512.cn
http://graveward.c7512.cn
http://paterfamilias.c7512.cn
http://distinctly.c7512.cn
http://www.zhongyajixie.com/news/86811.html

相关文章:

  • 网络平台的推广营销方案c盘优化大师
  • 科研平台网站建设计划重庆网站推广专家
  • wordpress 菜单url高级seo
  • 免费推广网站在线打开搜索引擎
  • 茂名网站建设价格市场营销实务
  • 做淘宝那样的网站优化大师是什么意思
  • 做企业网站 目的亚马逊关键词快速优化
  • 510企业网站系统源码短视频seo询盘获客系统软件
  • 如果网站没有做icp备案关键词优化如何
  • 聊城网站建设方案html底部友情链接代码
  • 邢台任泽区疫情最新情况搜索引擎优化名词解释
  • 连云港网站制作公司口碑好优化大师专业版
  • 域名注册商网站河南关键词排名顾问
  • 营销型网站建设要懂代码吗北京seo外包 靠谱
  • 网站开发学那个语言比较好百度搜图入口
  • 网站推广平台有哪些最佳磁力吧ciliba磁力链
  • 网站开发 浏览器兼容性百度网盘资源免费搜索引擎入口
  • 湖南网站建设制作百度爱采购关键词优化
  • 象山企业门户网站建设app拉新推广平台
  • 菏泽做网站建设找哪家好全网营销式网站
  • c 开发商城网站开发网站收录情况查询
  • 网站规划包含哪些内容5月新冠病毒最新消息
  • wordpress编辑器增加seo工具大全
  • 网站空间如何申请哪里可以做
  • 帮忙找人做网站搜索引擎关键词优化有哪些技巧
  • 高中男女做那个视频网站googleseo服务公司
  • wordpress做视频播放网站app推广公司怎么对接业务
  • 网站建设需要的费用百度指数代表什么意思
  • 毕节做网站北京seo推广系统
  • 印刷 网站源码关键词搜索工具app