// Use this for initialization void Start() { corgi = GameObject.Find("Player 1"); corgiSprite = GameObject.Find("Corgi"); ca = corgiSprite.GetComponent <CorgiAnimations>(); spoopingTheDog = false; }
// Use this for initialization void Start() { idle = false; spooped = true; running = false; withCorgi = false; cf = GetComponentInParent <CollectingFrands>(); corgiSprite = GameObject.Find("Corgi"); ca = corgiSprite.GetComponent <CorgiAnimations>(); corgi = GameObject.Find("Player 1"); }