void Start() { _controller = GameObject.FindGameObjectWithTag(Tags.GameController) .GetComponent<ZOrderController>(); _controller.Components.Add(this.gameObject); _abducted = GetComponent<Abducted>(); }
void Start() { _controller = GameObject.FindGameObjectWithTag(Tags.GameController) .GetComponent <ZOrderController>(); _controller.Components.Add(this.gameObject); _abducted = GetComponent <Abducted>(); }