void Start() { repairGunModule = transform.parent.parent.GetComponentInChildren <Module>(); shootBehavior = this.GetComponent <Behavior.IShoot>(); subscribe(); }
void Start() { repairGunModule = transform.parent.GetComponentInChildren <Module>(); barrelPosition = 0.0f; }