コード例 #1
0
 void Awake()
 {
     manager = FindObjectOfType <TutorialMiniGameManager>();
     timer   = FindObjectOfType <SoloTimer>();
     score   = new Score();
     Init();
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     manager = FindObjectOfType <TutorialMiniGameManager>();
     timer   = FindObjectOfType <SoloTimer>();
     score   = new Score();
     Init();
     //Call our SetCountText function which will update the text with the current value for count.
     SetCountText();
 }
コード例 #3
0
 void Awake()
 {
     manager = FindObjectOfType <TutorialMiniGameManager>();
     if (manager == null)
     {
         timer = FindObjectOfType <SoloTimer>();
     }
     data = new Score();
 }
コード例 #4
0
 void Start()
 {
     GetComponentInChildren <SpriteRenderer>().sprite = closedGoalSprite;
     manager = FindObjectOfType <TutorialMiniGameManager>();
     timer   = FindObjectOfType <SoloTimer>();
     if (FindObjectOfType <AddScore>() != null)
     {
         scoreCanvas = FindObjectOfType <AddScore>().gameObject;
         scoreCanvas.SetActive(false);
         score = new Score();
     }
     openDoor = false;
 }
コード例 #5
0
 public GameBase(BotMessager messager)
 {
     Bot   = messager;
     Timer = new SoloTimer();
 }
コード例 #6
0
ファイル: BotMessager.cs プロジェクト: Royathe/CIRCB
 public BotMessager()
 {
     CanMessage = true;
     Timer      = new SoloTimer();
 }