Exemple #1
0
 private void Start()
 {
     while (SceneInitCommandQueue.Count > 0)
     {
         SceneInitCommandInfo info = SceneInitCommandQueue.DequeueInit();
         info.callback(info.parameter);
     }
 }
 public static void Enqueue(SceneInitCommandInfo info)
 {
     sceneInitCommandQueue.Enqueue(info);
 }