// Use this for initialization void Start() { CCController = FindObjectOfType <CampusCaptureController>(); CampusTemplate = FindObjectOfType(typeof(CampusTemplateSetting)) as CampusTemplateSetting; TutorialMngr = FindObjectOfType <TutorialManager>(); ThisImage = GetComponent <Image>(); }
// Use this for initialization void Start() { CCController = FindObjectOfType <CampusCaptureController>(); CampusTemplate = FindObjectOfType(typeof(CampusTemplateSetting)) as CampusTemplateSetting; TutorialMngr = FindObjectOfType <TutorialManager>(); ThisImage = GetComponent <Image>(); for (int i = 0; i < (int)CampusType.GUARD; i++) { AlreadyDrawn[i] = false; } }