欢迎来到黄峻的个人网站
Oct 15

[置顶] ??????????

admin , 15:33 , 个人点滴 , 评论(5) , 引用(0) , 阅读(47295) , Via 本站原创
?????????????????????????????????????????????????????

??1???????????????????????

?????vray????????????????????????????
??????????vray?????????vray????????????????????????????????????????????????????
??????????????????????????????????????????????????????????????????
????????



????????????????????????????????????????????????????

??????
Tags: , , ,
Jun 8

??????Unity3D???

admin , 16:42 , unity 3d , 评论(0) , 引用(0) , 阅读(26234) , Via 本站原创

??????Unity3D???


???????????IIS?????????????????

???????IIS???MIME???????????.unity3d?MIME???application/octet-stream

Tags: ,
Apr 11

Overview: Common Operations ???????

    ??????????????????Transform?/?Rigidbody?????????????????Transform?Rigidbody???????????????????????Y????5?????????

function Update(){

     transfom.Rotate(0,5,0);

}

?????????????????????

function Update(){

     transfom.Translate(0,0,2);

}


Overview: Keeping Track of Time ???????

    Time????????????????deltaTime?????????????Update?FixedUpdate?????????????Update?????FixedUpdate?????

    ???????????????????????????????????????????????

function Update() {
      transform.Rotate( 0, 5 * Time.deltaTime, 0);
}

?????

function Update() {
      transform.Translate(0, 0, 2 * Time.deltaTime);
}


????????????????????Time.deltaTime???????Time.deltaTime????????????????10?/?????????????10?/???????????????????????????????????????10?/??

???????????????????????????????????2??/?????????

function Update(){

      light.range+=2.0*Time.deltaTime;

}

???????????????????Time.deltaTime????????????????


Overview: Accessing Other Components ?????????

    ?????????????Renderer??????????????????Camera?????????????????????????????????

?????????????????

   ??                  ?????

Transform                transform

Rigidbody                rigidbody

Renderer                 renderer

Camera                   camera(only on camera objects)

Light                    light(only on light objects)

Animation                animation

Collider                 collider

…???

    ????????????????????Component,Behaviour?MonoBehaciour????????????????????????????????null?

    ??????????????????????GetComponent???

transform.Translate(0, 1, 0);
// ???
GetComponent(Transform).Translate(0, 1, 0);

    ??transform?Transform????????????????????????????(??)??????????????????????

??????????????GetComponent?????????????????????????????????????????????DoSomething?????OtherScript????OtherScript??????????????????????

// ?????????OtherScript??
    // ????DoSomething
function Update () {
otherScript = GetComponent(OtherScript);
otherScript.DoSomething();
}

Tags:
Apr 11

Unity3D ????? Mono ??????????? PC ?MAC ? Android ?IOS ??????? 3.0 ???????? MonoDevelop ????????????? MonoDevelop ????????????????????????????????????????

  1. MonoDevelop ???????
    1. ????? Unity3D ?????? MonoDevelop ?????? Unity3D ?????? MonoDevelop ?MonoDevelop ?????????? Unity3D ???????
    2. ?? MonoDevelop ??? MonoDevelop ?????????? .Net 3.5 ?? ???? (Tools –> Preference) ???????????????????????? ?Unity –> Debugger? ?????? Editor Location ??????? ???? Launch Unity Automatically ? Build Project in MonoDevelop ?? OK ?????
  2. Unity Editor ????????? MonoDevelop ?
    1. ?? Unity ? ?? Edit –> Preference ?? Unity ?????
    2. ? General ???????? MonoDevelop?
  3. ?????????
    1. ? Unity Editor ? Project ????????? ???????? Sync MonoDevelop Project? ????? MonoDevelop ?????????
    2. ?? Unity Editor ?
    3. ? MonoDevelop ??????????????????? F5 ??????????? Unity Editor ??? Play ?????????????

??????????????

Mono Develop ??
Unity ??
????
Tags:
Jan 24

swf?????flv???

admin , 21:36 , 游戏开发 , 评论(0) , 引用(0) , 阅读(27187) , Via 本站原创
flvplayback????????????fullScreenTakeOver : Boolean ?????true???????????????????as???
??.fullScreenTakeOver=true.
???ok??
Tags: , , ,
分页: 1/18 第一页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]