Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        SC_PlayerRef = this.GetComponent <SC_Player>();
        _Color       = SC_PlayerRef.GetSpriteColor();

        b_TrailOn = false;
        _LastPos  = transform.position;
    }
Ejemplo n.º 2
0
    // 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;
    }