Пример #1
0
        void Awake()
        {
            instance     = this;
            meshCombiner = GetComponent <MeshCombiner>();
            meshCombinerList.Add(meshCombiner);

            QualitySettings.vSyncCount = 0;
        }
Пример #2
0
 void OnDestroy()
 {
     instance = null;
 }
Пример #3
0
 void Awake()
 {
     instance     = this;
     meshCombiner = GetComponent <MeshCombiner>();
     meshCombinerList.Add(meshCombiner);
 }