![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#框架
C#框架
unity学院
基于unity和C#进行Vr虚拟现实开发,虚拟仿真软件开发,游戏开发!
展开
-
自己的C#框架之第一篇之总括
自己的C#框架原创 2019-01-12 13:29:04 · 388 阅读 · 0 评论 -
自己的C#框架之第三篇Button事件的监听。
自己的C#框架原创 2019-03-09 15:22:39 · 955 阅读 · 0 评论 -
自己的C#框架之第四篇之声音的播放。
1、新建类ProjectEvent,枚举消息。public class ProjectEvent {public enum UiSound{//鼠标移动播放的声音。pointerEnterSound=ManagerID.ProjectManager+1,//鼠标按下的声音PointDownSound,PlayNeedSound,MaxValue}}2、新建类Project...原创 2019-03-09 16:08:16 · 204 阅读 · 0 评论 -
自己的C#框架之第五篇之Panel之间的切换
1、新建类UIEventpublic class UIEvent {public enum UI{GetTeachingPanel = ManagerID.UIManager+1,MaxValue}}2、新建类PanelController.CS//1.1接收消息private void Awake(){msgIds = new ushort[] { ...原创 2019-03-09 18:01:49 · 1179 阅读 · 0 评论 -
自己的C#框架之第四篇____补充之图片的加载
public void LoadTexture2Sprite(string path){Texture2D aa = (Texture2D)Resources.Load(“Texture/乘务员图片2019.3.7/”+ path) as Texture2D;Sprite kk = Sprite.Create(aa,new Rect (0,0,aa.width,aa.height),new ...原创 2019-03-19 14:12:34 · 246 阅读 · 0 评论 -
自己的C#框架之第三篇___补充之Button的禁用。
UGUI中,Button使用enable=false和interactable=false都可以禁用按钮,区别是enable取消Button组件,而interactable取消Button组件的Interactable,让按钮颜色变为Disabled Color。GameObject carderButtonButton = UIManager.Instance.GetGameObject(“...原创 2019-03-27 16:20:22 · 721 阅读 · 0 评论 -
自己的C#框架之第5篇____补充之Image颜色的改变
GameObject Downbg = UIManager.Instance.GetGameObject(“Downbg”);Downbg.GetComponent().color = Color.red;原创 2019-05-09 15:03:17 · 675 阅读 · 0 评论