コード例 #1
0
ファイル: SC_WalkTrail.cs プロジェクト: DamiFa/TanukiNoTama
    // Use this for initialization
    void Start()
    {
        SC_PlayerRef = this.GetComponent <SC_Player>();
        _Color       = SC_PlayerRef.GetSpriteColor();

        b_TrailOn = false;
        _LastPos  = transform.position;
    }
コード例 #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;
    }