void Awake() { manager = FindObjectOfType <TutorialMiniGameManager>(); timer = FindObjectOfType <SoloTimer>(); score = new Score(); Init(); }
// 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(); }
void Awake() { manager = FindObjectOfType <TutorialMiniGameManager>(); if (manager == null) { timer = FindObjectOfType <SoloTimer>(); } data = new Score(); }
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; }
public GameBase(BotMessager messager) { Bot = messager; Timer = new SoloTimer(); }
public BotMessager() { CanMessage = true; Timer = new SoloTimer(); }