Skip to content

Instantly share code, notes, and snippets.

@Aaron8052
Last active January 5, 2024 02:24
Show Gist options
  • Save Aaron8052/2932858f09618a6129e8f8beb4556438 to your computer and use it in GitHub Desktop.
Save Aaron8052/2932858f09618a6129e8f8beb4556438 to your computer and use it in GitHub Desktop.
Unity游戏优化(二)移除空回调定义

Unity游戏优化(二)移除空回调定义

Unity创建脚本时会自动包含Start()Update() 这两个方法。如果你用不到它们,请记得移除,因为这些方法不论是否为空,Unity都始终会调用它们

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment