Advertisement
diegographics

Untitled

Aug 4th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.50 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5.  
  6. namespace UniverseSystem
  7. {
  8.     public class Universe4 : MonoBehaviour
  9.     {
  10.         //Inspector Variables
  11.         public int Tab;
  12.         public bool Tutorial;
  13.             // DebugTabOptions
  14.             public bool DebugTab_DefaultInspector;
  15.         //Debug Variables
  16.         public bool isDebug = false;
  17.         //General Variables
  18.         public bool isMultithreaded;
  19.         //Generation Variables
  20.         public int seed;
  21.         public int noiseSize;
  22.  
  23.         //Chunk Variables
  24.         public int Chunk_Size;
  25.         public int Chunk_Radius;
  26.  
  27.         static class Thread
  28.         {
  29.             public static void ThreadFunc01()
  30.             {
  31.                 //Thread Code..
  32.                 Generation.GenerationFunc02();
  33.             }
  34.             public static void ThreadFunc02()
  35.             {
  36.                 //Thread Code..
  37.             }
  38.             public static void ThreadFunc03()
  39.             {
  40.                 //Thread Code..
  41.             }
  42.         }
  43.         static class Generation
  44.         {
  45.             public static void GenerationFunc01()
  46.             {
  47.                 //Generate code..
  48.  
  49.                 Thread.ThreadFunc01();
  50.             }
  51.             public static void GenerationFunc02()
  52.             {
  53.                 //Generate code..
  54.             }
  55.             public static void GenerationFunc03()
  56.             {
  57.                 //Generate code..
  58.             }
  59.         }
  60.     }
  61.  
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement