• 大小: 1.36MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-30
  • 语言: 其他
  • 标签: unity3d  模拟  太阳系  

资源简介

unity3d 太阳 地球 月球 构成的建议太阳系模型 地球围绕太阳转 月亮围绕地球转 unity3d 3.0编制

资源截图

代码片段和文件信息

using UnityEngine;
using System.Collections;

public class Earth : MonoBehaviour {

    public static float rotatespeed = 15f;
    public static float spinspeed = 30f;
    public Transform thesun;

    
    // Use this for initialization
void Start () {

}

// Update is called once per frame
void Update () {


        //地球自转
        transform.Rotate(Vector3.up *rotatespeed* Time.deltaTime);
        
        //地球公转
        transform.RotateAround(Vector3.zero Vector3.up spinspeed * Time.deltaTime);
        
}
}

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

    I.A....      3378  2011-07-18 12:56  solar\Assets\Materials\usertile28.mat

    I.A....      3378  2011-07-18 13:37  solar\Assets\Materials\usertile32.mat

    I.A....      3378  2011-07-18 13:58  solar\Assets\Materials\usertile34.mat

    I.A....     47842  2011-07-18 16:17  solar\Assets\Scenes\scene1.unity

     文件        560  2011-07-18 15:51  solar\Assets\scripts\Earth.cs

     文件        200  2011-07-18 14:40  solar\Assets\scripts\Main.cs

     文件        743  2011-07-18 16:12  solar\Assets\scripts\Moon.cs

     文件        388  2011-07-18 15:22  solar\Assets\scripts\Sun.cs

     文件       6295  2011-07-18 13:43  solar\Assets\scripts\unirotate.cs

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile27.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile28.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile29.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile30.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile31.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile32.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile33.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile34.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile35.bmp

     文件      49208  2009-06-11 05:18  solar\Assets\Textures\usertile36.bmp

    I.A....     31941  2011-07-18 16:43  solar\Library\assetDatabase3

    I.A....         1  2011-07-18 12:49  solar\Library\AssetImportState

    I.A....      5030  2011-07-18 12:49  solar\Library\AssetServerCacheV3

    I.A....       462  2011-07-18 12:49  solar\Library\AudioManager.asset

    I.A....         0  2011-07-18 12:49  solar\Library\BuildPlayer.prefs

    I.A....       982  2011-07-18 12:49  solar\Library\BuildSettings.asset

    I.A....      1367  2011-07-18 12:49  solar\Library\cache\00\00000000000000001000000000000000

    I.A....       477  2011-07-18 12:49  solar\Library\cache\00\00000000000000002000000000000000

    I.A....       477  2011-07-18 12:49  solar\Library\cache\00\00000000000000003000000000000000

    I.A....       481  2011-07-18 12:49  solar\Library\cache\00\00000000000000004000000000000000

    I.A....      1375  2011-07-18 12:49  solar\Library\cache\00\00000000000000005000000000000000

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

评论

共有 条评论