// Use this for initialization void Start() { SC_PlayerRef = this.GetComponent <SC_Player>(); _Color = SC_PlayerRef.GetSpriteColor(); b_TrailOn = false; _LastPos = transform.position; }
// Use this for initialization void Start() { //SYSTEM AVEC PARTICLE SYSTEM //p_dashTrailParticle = this.transform.FindChild("p_dashTrailParticle").particleSystem; SC_PlayerRef = this.GetComponent <SC_Player>(); _Color = SC_PlayerRef.GetSpriteColor(); //renderer.material.color = _Color; b_TrailOn = false; b_TrailLaunched = false; }