// Use this for initialization void Start() { soap = GameObject.FindWithTag("Player"); sm = soap.GetComponent <SoapMovement>(); }
// Use this for initialization void Start() { coll = GetComponent <Collider>(); sm = GameObject.FindWithTag("Player").GetComponent <SoapMovement>(); bubbleTrigger = GameObject.Find("BubbleTrigger"); }