2015年7月10日

摘要: 1.修改unity3d的Mouse Look相机脚本:按住右键控制前进方向,方向键改变位置2.给场景相机添加系统自带的fpswalker脚本3.指定fpswalker里transform指定场景相机PS:Mouse Look.cs修改部分:001void Update ()002{003 if (I... 阅读全文

posted @ 2015-07-10 16:52 霍先生的博客 阅读(1905) 评论(0) 推荐(0) 编辑

摘要: using UnityEngine; using System.Collections; public class CoverFlow : MonoBehaviour { public int numberOfPhotos = 4; public ArrayList PhotoObjects... 阅读全文

posted @ 2015-07-10 16:49 霍先生的博客 阅读(484) 评论(0) 推荐(0) 编辑

摘要: Coroutines & Yield是Unity3D编程中重要的概念,它可以实现将一段程序延迟执行或者将其各个部分分布在一个时间段内连续执行,但是在Javascript与C#中实现Coroutines & Yield,在语法上却有一些区别:javascript中yield用法很简单,直接yield就... 阅读全文

posted @ 2015-07-10 16:46 霍先生的博客 阅读(228) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文

posted @ 2015-07-10 16:38 霍先生的博客 阅读(2539) 评论(0) 推荐(1) 编辑


Copyright © 2024 霍先生的博客
Powered by .NET 8.0 on Kubernetes


 

< img src="" />