// Start is called before the first frame update private void Start() { _player = GameObject.FindWithTag("Player").GetComponent <PlayerController>(); _playerGraphicsController = GameObject.FindWithTag("PlayerGraphicsController").GetComponent <PlayerGraphicsController>(); _tongueLineRenderer = GetComponentInChildren <LineRenderer>(); _tongueBall = GetComponentInChildren <TongueBall>(); _tongueBehindSprite = transform.Find("TongueBehind").GetComponent <SpriteRenderer>(); }
// Start is called before the first frame update void Start() { rigidbodyMover = GetComponent <RigidbodyMover>(); graphicsController = GetComponentInChildren <PlayerGraphicsController>(); }