摘要:
http://bbs.9ria.com/thread-115434-1-2.html介绍一下UNITY3D与WEB交互的方法,包含传入和传出通过web,url传入数值的方法:代码:var version : int = 1;function CheckVersion (){ var update_url = "http://mysite.com/myGame/version.txt"; update_post = WWW(update_url); yield update_post; //等待数据传递 if(update_post.error) { print(" 阅读全文
摘要:
using UnityEngine;using System.Collections;public class RonmandMove : MonoBehaviour { // Use this for initialization Vector3 randomPoint = Vector3.zero; bool moving = false; void Awake() { randomPoint = new Vector3(Random.Range(-30,30),transform.position.y,Rand... 阅读全文