资源简介

Unity3D虚拟现实开发之标签跟随功能简易工程包,脚本使用C#编写

资源截图

代码片段和文件信息

using UnityEngine;
using System.Collections;

public class move : MonoBehaviour {
public float speed=8;
// Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {
if (Input.GetKey (“w“)) {
transform.Translate(Vector3.forward*Time.deltaTime *speed);
}
if (Input.GetKey (“s“)) {
transform.Translate(Vector3.back*Time.deltaTime *speed);
}
if (Input.GetKey (“a“)) {
transform.Translate(Vector3.left*Time.deltaTime *speed);
}
if (Input.GetKey (“d“)) {
transform.Translate(Vector3.right*Time.deltaTime *speed);
}
    
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2975  2014-04-19 16:21  test1\Assembly-CSharp-vs.csproj

     文件       2975  2014-04-19 16:21  test1\Assembly-CSharp.csproj

     文件      53131  2014-02-19 16:50  test1\Assets\5.jpg

    ..A..H.       914  2014-03-08 13:58  test1\Assets\5.jpg.meta

     文件      26445  2012-06-29 10:28  test1\Assets\diban01.jpg

    ..A..H.       914  2014-04-04 18:59  test1\Assets\diban01.jpg.meta

     文件       4212  2013-07-15 17:10  test1\Assets\diban01.mat

    ..A..H.        95  2014-04-19 15:56  test1\Assets\diban01.mat.meta

     文件      64204  2012-06-29 10:31  test1\Assets\diban05.jpg

    ..A..H.       914  2014-04-19 15:57  test1\Assets\diban05.jpg.meta

    I.A....      4216  2014-04-19 15:56  test1\Assets\Materials\5.mat

    ..A..H.        95  2014-04-19 15:56  test1\Assets\Materials\5.mat.meta

    I.A....      4220  2014-04-19 15:56  test1\Assets\Materials\diban01.mat

    ..A..H.        95  2014-04-19 15:56  test1\Assets\Materials\diban01.mat.meta

    I.A....      4220  2014-04-19 15:57  test1\Assets\Materials\diban05.mat

    ..A..H.        95  2014-04-19 15:57  test1\Assets\Materials\diban05.mat.meta

    ..A..H.       107  2014-04-19 15:56  test1\Assets\Materials.meta

    ..A..H.       107  2014-03-15 19:49  test1\Assets\room.meta

    I.A....     28484  2014-04-19 16:33  test1\Assets\room.unity

    ..A..H.        90  2014-03-08 13:58  test1\Assets\room.unity.meta

    I.A....     13328  2014-04-19 15:53  test1\Assets\scene.prefab

    ..A..H.        95  2014-04-03 18:10  test1\Assets\scene.prefab.meta

     文件        604  2014-04-19 15:34  test1\Assets\script\move.cs

    ..A..H.       178  2014-04-19 15:25  test1\Assets\script\move.cs.meta

     文件       1379  2014-04-19 16:24  test1\Assets\script\tag.cs

    ..A..H.       178  2014-04-04 20:13  test1\Assets\script\tag.cs.meta

    ..A..H.       107  2014-03-08 13:58  test1\Assets\script.meta

     文件       4212  2014-02-19 17:34  test1\Assets\地面.mat

    ..A..H.        95  2014-03-08 13:58  test1\Assets\地面.mat.meta

     文件       4116  2014-02-19 16:47  test1\Library\AnnotationManager

............此处省略348个文件信息

评论

共有 条评论