// Start is called before the first frame update void Start() { _ic = GetComponent <InputController>(); _ac = GetComponentInChildren <AimChevron>(); _selectionDisplayHandler = GetComponentInChildren <SelectionDisplayHandler>(); _ac.Activate(); _cam = Camera.main; }
/* * Lifecycle */ protected void Awake() { pucks = GetComponentsInChildren <PointAndShoot>(); aimChevron = GetComponentInChildren <AimChevron>(); pmgm = FindObjectOfType <PuckMasterGameManager>(); powerIndicator = GetComponentInChildren <PowerIndicator>(); foreach (var da in FindObjectsOfType <DeploymentArea>()) { if (this.tag.Equals(da.tag)) { deploymentArea = da; } } }