// Start is called before the first frame update void Start() { My_Player_Health = GetComponent <Player_Health>(); Original_Color = GetComponent <SpriteRenderer>().color; My_Shooting_Script = GetComponent <Shooting_Script>(); My_Multiplayer_Checker = GetComponent <Multiplayer_Checker>(); }
//private ParticleSystem particles; // Use this for initialization void Start() { Projectile = gameObject; shootScript = GameObject.Find ("SpawnPoint").GetComponent <Shooting_Script> (); chargeLevel = shootScript.chargeLevel; StartCoroutine (Wait ()); //particles = gameObject.GetComponent <ParticleSystem> (); //gameObject.transform.localScale = new Vector3 (0.3f *chargeLevel *0.05f,0.3f *chargeLevel *0.05f,0.3f *chargeLevel *0.05f); }