上一页 1 ··· 12 13 14 15 16
摘要: 效果图:最近公司要制作小地图,搜索网上的文章没找到有什么小实例,=。=直接上步骤:制作小地图步骤: 1. 人物头顶有一个面板呈现人物图标 2. 有一个摄像机在主角头顶!(Target Texture属性)把摄像机照到的物体渲染成一个2D贴图 3. 把贴图绑定到NGUI控件上显示源码: http://... 阅读全文
posted @ 2015-01-07 23:11 盘子脸 阅读(828) 评论(0) 推荐(0) 编辑
摘要: 最近写了一个跑酷游戏,总结下里面的知识点:O(∩_∩)O~using UnityEngine;using System.Collections;public class Demo : MonoBehaviour{ public Vector3 lastMonseDown; /// ... 阅读全文
posted @ 2015-01-04 21:30 盘子脸 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: Easy Save使用: 1.保存游戏进度 2.设计游戏关卡(怪物数量,坐标,背景图等等) Easy Save默认存储地址: C:\Users\Administrator\AppData\LocalLow\DefaultCompany\项目名 Easy Save保存的格式:(不能直接保存自定义... 阅读全文
posted @ 2015-01-04 21:09 盘子脸 阅读(7387) 评论(0) 推荐(0) 编辑
摘要: >相反了)/** 题目: 2 << 3 = 10000 = 16* 解答: 2向左移动三位,就变成了10000* 十进制 二进制* 2 10* 16 10000* */int i = 2;int j = 3;int a = i << j;Console.WriteLin... 阅读全文
posted @ 2014-12-29 20:25 盘子脸 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 效果图如下:今天一直在纠结如何加载场景,中间有加载画面和加载完毕的效果动画!A 场景到 B , 看见网上的做法都是 A –> C –> B。 C场景主要用于异步加载B 和 播放一些加载场景的动画AsyncOperation op = Application.LoadLevelAsync("C"); ... 阅读全文
posted @ 2014-12-24 23:48 盘子脸 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2014-12-06 17:01 盘子脸 阅读(765) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class... 阅读全文
posted @ 2014-12-06 16:35 盘子脸 阅读(283) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16