protected override void Start() { base.Start(); obControl = GameObject.FindWithTag("obController").GetComponent <OctoBossController>(); target = GameObject.FindWithTag("obCenter").transform; hoverHeight = HeightManager.Instance.setHeight; rb = GetComponent <Rigidbody>(); SetHeight(); }
void Start() { obControl = GameObject.FindWithTag("obController").GetComponent <OctoBossController>(); }