void Start() { _jump = GetComponentInChildren<Jump>(); ErrorLog.CheckComponentExist(this._jump, "Jump", this.name); _attribute = GetComponentInParent<PlayerAttirbute>(); ErrorLog.CheckComponentExist(this._attribute, "Attribute", this.name); }
// Use this for initialization void Start() { this._attribute = GetComponentInParent<PlayerAttirbute>(); ErrorLog.CheckComponentExist(this._attribute, "PlayerAttribte", this.name); }
void Start() { this._icon = GetComponentInChildren<SpriteRenderer>(); this._forceControl = GetComponent<ShootForceControl>(); this._attribute = GetComponentInParent<PlayerAttirbute>(); ErrorLog.CheckComponentExist(this._attribute, "PlayerAttribte", this.name); }