Beispiel #1
0
    /* Setter & Getter */

    /* Functions */

    private void Awake()
    {
        mShootAction = this.GetComponent <JCS_ShootAction>();
        mBFPlayer    = this.GetComponent <BF_Player>();
    }
Beispiel #2
0
    /* Setter & Getter */

    /* Functions */

    private void Awake()
    {
        mDetectAreaAction = this.GetComponentInParent <JCS_DetectAreaAction>();
        mShootAction      = this.GetComponentInParent <JCS_ShootAction>();
        mBFPlayer         = this.GetComponentInParent <BF_Player>();
    }