Exemple #1
0
    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();
    }
Exemple #2
0
 void Start()
 {
     obControl = GameObject.FindWithTag("obController").GetComponent <OctoBossController>();
 }