private void Start() { _roodleController = GetComponent <RoodleController>(); // _roodleBubbleMove = GetComponent<BubbleMove>(); _bubbleFollow = GetComponent <BubbleFollow>(); //RestartCoroutine = Restart(); }
private void Awake() { _roodleController = GetComponentInParent <RoodleController>(); if (DataStorage.CheckActiveRoodle(gameObject.name)) { _roodleController.ActiveRoodle = this; } else { gameObject.SetActive(false); } }
public void PickUp(RoodleController roodleController) { _bubbleMove.enabled = true; _collider.enabled = false; }