// Use this for initialization void Start() { player = GameObject.Find("Player"); flowerScript = player.GetComponent <ObtainingFlowers>(); }
// Use this for initialization void Start() { obtain = player.GetComponent <ObtainingFlowers>(); }