// public float transmissionTime; // Use this for initialization void Start() { gameObject.transform.parent = GameObject.FindGameObjectWithTag("rotator").transform; initialActivationIterations = activationIterations; flowerTracker = GameObject.FindGameObjectWithTag("gameManager").GetComponent <FlowerTracker> (); // thornParticle = gameObject.GetComponentInChildren<ParticleSystem> (); thornParticle.Stop(); flowerParticle.Stop(); }
// Use this for initialization void Start() { flowerTracker = GameObject.FindGameObjectWithTag("gameManager").GetComponent <FlowerTracker> (); }