// Use this for initialization public override void Start() { //Debug.Log("Jellyfih created"); _outlineCounter.Reset(); //Getting the position and size of the zone where the jellyfish can move /*_leftBound = GameManager.JellyFishSpawner.LBound; * _rightBound = GameManager.JellyFishSpawner.RBound; * _upperBound = GameManager.JellyFishSpawner.UBound; * _lowerBound = GameManager.JellyFishSpawner.DBound;*/ /*_jellyfishZoneUp = basic.GetJellyfishZoneUp(); * _jellyfishZoneDown = basic.GetJellyfishZoneDown(); * _jellyfishZoneLeft = basic.GetJellyfishZoneLeft(); * _jellyfishZoneRight = basic.GetJellyfishZoneRight(); * _jellyfishZoneSizeY = basic.GetJellyfishZoneSizeY();*/ _distance = 1.5f; //Creates a target from the position of the jellyfish _targetPoint = _jellyfish.gameObject.transform.position; createNewPoint('u'); }
public override void Start() { _outlineCounter.Reset(); }