Unity Manual 笔记

notes

  • packages: collections of asserts
  • play模式下改变不会被保存
  • Math.Lerp()线性插值

scene view

  • gizmo: camera
  • perspective/orthographic
  • Arrow,orbiting,zooming,flythrough

3D/2D

3D 2D
Perspective Orthographic

physics

  • rigidbody
    • gravity
  • collision
  • sleeping

碰撞

  • Rigidbody with gravity
  • capsule collider with isTrigger

scripts

  • same classname as filename
  • update(): movement, trigging action & responding
  • public –> inspector
  • find object
    • transform.find(“”) // child objects
    • GameObject.Find(“”) // byname
  • update: FixedUpdate->Update->LateUpdate
  • Rendering: OnPreCull/OnBecameVisible/OnBacameInvisible

Automatic Memory Management

  • Serialized: public, not static, const

TODO

  • Networking
  • UI

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试