山寨Pokemon go的尝试demo的源码一
用unity+高德地理定位做的,模仿pokemon go的尝试的demo。
源码太大,所以分成两部分。
详细内容看http://blog.csdn.net/wuyt2008/article/details/52934083
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 3 2016-10-26 13:29 pokemon.svnentries
I.A.... 3 2016-10-26 13:29 pokemon.svnformat
I.A...R 5196 2016-10-26 13:30 pokemon.svnpristine 0 004137d5c494a773e9ad5fcde75cd564dbdbd24.svn-base
I.A...R 104 2016-10-26 13:30 pokemon.svnpristine 0 0168a26ac98942ca4373e0a61dafdd60432d092.svn-base
I.A...R 16880 2016-10-26 13:30 pokemon.svnpristine 0 04dafb62c25205ac8e93f278786e84963c7bd11.svn-base
I.A...R 174 2016-10-26 13:29 pokemon.svnpristine 0 06b6258f3cfcf51c50480bb76a48141e191ec82.svn-base
I.A...R 56 2016-10-26 13:30 pokemon.svnpristine 0 0779ce7350917b8cf0fd0ae11c715deddd6c5d0.svn-base
I.A...R 4308 2016-10-26 13:30 pokemon.svnpristine 0 09e18e521b0855c308d6b9e020d4421ff76cb6d.svn-base
I.A...R 4364 2016-10-26 13:30 pokemon.svnpristine 0 09e742a63af7cc62cbca6d10dbf9a3257edc25f.svn-base
I.A...R 4677 2016-10-26 13:30 pokemon.svnpristine 0 0bf779e6fb1d0ff0c49abc702343a1d41f7ac75.svn-base
I.A...R 174 2016-10-26 13:29 pokemon.svnpristine 0 0d62147aa200d7d7cdaa5ef2c8d938190d7533c.svn-base
I.A...R 45308 2016-10-26 13:37 pokemon.svnpristine 0 0dcd1111d204064a426dd52ef3ae2221d7229f5.svn-base
I.A...R 4377 2016-10-26 13:30 pokemon.svnpristine 1 1087e825d5e61cb9534359859ae3d0ff3b7824d.svn-base
I.A...R 358780 2016-10-26 13:30 pokemon.svnpristine 1 115e53112306c831287b84d70334c7867980937.svn-base
I.A...R 19331 2016-10-26 13:30 pokemon.svnpristine 1 119558daeee6501f52f2c004f8294313df34eb1.svn-base
I.A...R 630 2016-10-26 13:30 pokemon.svnpristine 1 121e5810fba65b32c8734decdde4ee381d089be.svn-base
I.A...R 892 2016-10-26 13:30 pokemon.svnpristine 1 15bd7c40e3018b121205882f9dc579047488ba0.svn-base
I.A...R 3264 2016-10-26 13:30 pokemon.svnpristine 1 15d318d3113e8bba57996e58b651085cf3730bb.svn-base
I.A...R 1231 2016-10-26 13:30 pokemon.svnpristine 1 163150c4a5b6269244c88e7cb73eeaad7fa5bcb.svn-base
I.A...R 615 2016-10-26 13:30 pokemon.svnpristine 1 1ebb5ef83af9f5ffb728360e87813aac96841ea.svn-base
I.A...R 1220 2016-10-26 13:30 pokemon.svnpristine 2 23182e48f376a43a0a71a0dab378ad26e63c072.svn-base
I.A...R 192 2016-10-26 13:30 pokemon.svnpristine 2 237ff1c66f78d1cced67b1431236d15fb5b464e.svn-base
I.A...R 181 2016-10-26 13:30 pokemon.svnpristine 2 24f855f0884525e6c3891486f87ff07a291ebc3.svn-base
I.A...R 60 2016-10-26 13:30 pokemon.svnpristine 2 2657e132cd1761ff8275672c1822f41d9022cea.svn-base
I.A...R 4373 2016-10-26 13:30 pokemon.svnpristine 2 288ec0320411fd6a26aa015f149af1bbb8f74fb.svn-base
I.A...R 4224 2016-10-26 13:30 pokemon.svnpristine 2 29cf640e41e8c7821f2c89890d8ed7e83cf4f89.svn-base
I.A...R 4300 2016-10-26 13:30 pokemon.svnpristine 2 2ba343db344783077b62e79db2bdfcff61296c4.svn-base
I.A...R 235 2016-10-26 13:30 pokemon.svnpristine 2 2bb411ba770106fec9e8ddf64e3c32a3d5374c1.svn-base
I.A...R 192 2016-10-26 13:30 pokemon.svnpristine 2 2dddb40bbca5c27be1fae2e9698f6d30efd526b.svn-base
I.A...R 77214 2016-10-26 13:30 pokemon.svnpristine 3 3338912029f528a240ba599583515af88af0a2f.svn-base
............此处省略2440个文件信息
using UnityEngine;
using System.Collections;
public class BackToScene : MonoBehaviour {
public string mainMenuName = “LoaderScene“;
public KeyCode key = KeyCode.Escape;
public bool allowAutoRotation = false;
public GUISkin skin;
void Awake() {
Screen.autorotateToLandscapeLeft = allowAutoRotation;
Screen.autorotateToLandscapeRight = allowAutoRotation;
Screen.autorotateToPortrait = allowAutoRotation;
Screen.autorotateToPortraitUpsideDown = allowAutoRotation;
}
// Update is called once per frame
void Update () {
if(Input.GetKeyDown(key))
{
GoBack();
}
}
void GoBack() {
Debug.Log(“Loading: Menu“);
Application.LoadLevel(mainMenuName);
}
void OnGUI() {
GUI.skin = skin;
float dpiScaling = GUITools.DpiScaling;
GUITools.SetFontSizes();
GUILayout.BeginArea (new Rect(10Screen.height - 60 * dpiScaling200 * dpiScaling50 * dpiScaling));
if(GUILayout.Button (“Back To Menu“ GUILayout.Height(50 * dpiScaling) GUILayout.Width(200 * dpiScaling)))
{
GoBack();
}
GUILayout.EndArea();
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
I.A.... 3 2016-10-26 13:29 pokemon.svnentries
I.A.... 3 2016-10-26 13:29 pokemon.svnformat
I.A...R 5196 2016-10-26 13:30 pokemon.svnpristine 0 004137d5c494a773e9ad5fcde75cd564dbdbd24.svn-ba
I.A...R 104 2016-10-26 13:30 pokemon.svnpristine 0 0168a26ac98942ca4373e0a61dafdd60432d092.svn-ba
I.A...R 16880 2016-10-26 13:30 pokemon.svnpristine 0 04dafb62c25205ac8e93f278786e84963c7bd11.svn-ba
I.A...R 174 2016-10-26 13:29 pokemon.svnpristine 0 06b6258f3cfcf51c50480bb76a48141e191ec82.svn-ba
I.A...R 56 2016-10-26 13:30 pokemon.svnpristine 0 0779ce7350917b8cf0fd0ae11c715deddd6c5d0.svn-ba
I.A...R 4308 2016-10-26 13:30 pokemon.svnpristine 0 09e18e521b0855c308d6b9e020d4421ff76cb6d.svn-ba
I.A...R 4364 2016-10-26 13:30 pokemon.svnpristine 0 09e742a63af7cc62cbca6d10dbf9a3257edc25f.svn-ba
I.A...R 4677 2016-10-26 13:30 pokemon.svnpristine 0 0bf779e6fb1d0ff0c49abc702343a1d41f7ac75.svn-ba
I.A...R 174 2016-10-26 13:29 pokemon.svnpristine 0 0d62147aa200d7d7cdaa5ef2c8d938190d7533c.svn-ba
I.A...R 45308 2016-10-26 13:37 pokemon.svnpristine 0 0dcd1111d204064a426dd52ef3ae2221d7229f5.svn-ba
I.A...R 4377 2016-10-26 13:30 pokemon.svnpristine 1 1087e825d5e61cb9534359859ae3d0ff3b7824d.svn-ba
I.A...R 358780 2016-10-26 13:30 pokemon.svnpristine 1 115e53112306c831287b84d70334c7867980937.svn-ba
I.A...R 19331 2016-10-26 13:30 pokemon.svnpristine 1 119558daeee6501f52f2c004f8294313df34eb1.svn-ba
I.A...R 630 2016-10-26 13:30 pokemon.svnpristine 1 121e5810fba65b32c8734decdde4ee381d089be.svn-ba
I.A...R 892 2016-10-26 13:30 pokemon.svnpristine 1 15bd7c40e3018b121205882f9dc579047488ba0.svn-ba
I.A...R 3264 2016-10-26 13:30 pokemon.svnpristine 1 15d318d3113e8bba57996e58b651085cf3730bb.svn-ba
I.A...R 1231 2016-10-26 13:30 pokemon.svnpristine 1 163150c4a5b6269244c88e7cb73eeaad7fa5bcb.svn-ba
I.A...R 615 2016-10-26 13:30 pokemon.svnpristine 1 1ebb5ef83af9f5ffb728360e87813aac96841ea.svn-ba
I.A...R 1220 2016-10-26 13:30 pokemon.svnpristine 2 23182e48f376a43a0a71a0dab378ad26e63c072.svn-ba
I.A...R 192 2016-10-26 13:30 pokemon.svnpristine 2 237ff1c66f78d1cced67b1431236d15fb5b464e.svn-ba
I.A...R 181 2016-10-26 13:30 pokemon.svnpristine 2 24f855f0884525e6c3891486f87ff07a291ebc3.svn-ba
I.A...R 60 2016-10-26 13:30 pokemon.svnpristine 2 2657e132cd1761ff8275672c1822f41d9022cea.svn-ba
I.A...R 4373 2016-10-26 13:30 pokemon.svnpristine 2 288ec0320411fd6a26aa015f149af1bbb8f74fb.svn-ba
I.A...R 4224 2016-10-26 13:30 pokemon.svnpristine 2 29cf640e41e8c7821f2c89890d8ed7e83cf4f89.svn-ba
I.A...R 4300 2016-10-26 13:30 pokemon.svnpristine 2 2ba343db344783077b62e79db2bdfcff61296c4.svn-ba
I.A...R 235 2016-10-26 13:30 pokemon.svnpristine 2 2bb411ba770106fec9e8ddf64e3c32a3d5374c1.svn-ba
I.A...R 192 2016-10-26 13:30 pokemon.svnpristine 2 2dddb40bbca5c27be1fae2e9698f6d30efd526b.svn-ba
I.A...R 77214 2016-10-26 13:30 pokemon.svnpristine 3 3338912029f528a240ba599583515af88af0a2f.svn-ba
............此处省略2440个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)