Unity Optimization UNITY优化关注列表

这里主要罗列Unity引擎进行开发的应用或游戏,可以进行优化的各个关注点。(此文会持续更新)

  • C# GC alloc
    • Update LateUpdate
    • Serialize
    • String ToString() +=
    • Getter API Object.name GetComponents Sprite.vectices
    • Debug.Log
    • Closure anonymous function
  • Unity API
    • ParticleSystem Start Stop Pause Clear Simulate (withChildren = false)
    • GetComponents Input.Touch (return copy) shall be cached
    • Camera.main = Object.FindObjectWithTag("MainCamera")
    • Physices.RaycastAll vs Rhysics.RaycastNonAlloc
  • UGUI
    • Canvas Rebuild Mesh
    • Batches
    • Mask vs RectMask2D
    • GraphicRaycaster - Raycast Target
    • Layout Recursion SetDirty
    • Canvas Count
    • OverDraw
    • Sprite Packing NPOT
  • Unity
    • Static Batching MEM and CPU
    • StaticBatchingUtility.Combine
      • R/W enabled
      • GC Alloc
    • Mesh Baker
    • Dynamic Batching
      • 900 verts
      • Lightmap data
      • Pass
    • Check Batches and SetPass
    • Bone and Skinning
      • GPU Skinning
      • BlendShapes
      • Disable Animator
    • Instancing
      • GPU Instancing
      • Animation Instancing
    • Physics
      • MeshCollider cost too much
      • Mesh R/W Enabled
    • PhysicsManager Setting
      • Fixed TimeStep
      • LayerCollisionMatrix
  • GPU
    • Rendering
      • Mesh less tris
      • LODGroup
      • Mesh Baker LOD
      • Terrain Block
      • Texture
        • Size
        • Mipmap
        • Filter Mode : Bilinear - UI Trilinear - Mipmap
  • Memory
    • AssetBundle
      • LZMA or LZ4
      • Serialized file
      • Unload true / false
      • Ref count
    • IL2CPP
      • IOS binarySize
      • Android adb dumpsys meminfo -> .so mmap

转载于:https://www.cnblogs.com/oplusx/p/10509598.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值