摘要:
Writing Surface ShadersWriting shaders that interact with lighting is complex. There are different light types, different shadow options, different re... 阅读全文
摘要:
http://game.ceeger.com/Manual/RandomNumbers.html随机选择的物品或值在很多游戏中都是很重要的。这个部分展示了如何使用统一的内置随机函数来实现一些常见的游戏机制。Choosing a Random Item from an ArrayPicking an ... 阅读全文
摘要:
using UnityEngine;using System.Collections;public class ProjectileTest : MonoBehaviour{ public GameObject target; public float speed = 10; pr... 阅读全文