コード例 #1
0
 private void Awake()
 {
     if (instance != null)
     {
         Debug.Log("Too many turn structure scripts!");
         return;
     }
     instance = this;
 } //Singleton loop
コード例 #2
0
 private void Start()
 {
     msgD = MsgDisplay.instance;
     cC   = CameraControll.instance;
     tS   = TemplateSelection.instance;
     aIC  = AICities.instance;
     turnStructureScript = TurnStructure.instance;
     currentPhase        = initPhase.Welcome;
     msgD.DisplayMessage("Welcome", 2f);
 }
コード例 #3
0
 private void Start()
 {
     gSP = GameStartPhases.instance;
     tS  = TurnStructure.instance;
 }