When the initial step of the Unity development project

1, first of all try not to create too much of a static object, the more static objects more likely to cause confusion in the management, very late pit

2, if you can try to use the event to pass parameters, try to decouple

3, there are two resources ,,, resources, Resources resources, and updating resources, Resources is a resource does not update deleted, read faster, the problem is not updated, so have other ways to update the simplest when the AB update these newer materials are generally placed in the cache, under the Persistent folder, of course, is not the same across platforms, pay attention to rights issues ,, but usually put some default initial resources, prevent not get to a network resource update general report on StreamingAssets appear empty directory, by copying the way put under Persistent directory, and then update, when they reported the problem does not appear empty, attention: when copying files attention to rights issues such as the Android platform into the next IO access StreamingAssets system folder, I stepped on a pit this afternoon learned in the API, only the Android platform is prohibited.  

Guess you like

Origin www.cnblogs.com/MakeTeaboy/p/11239916.html
Recommended