private void Awake() { uti = gameObject.GetComponent <EnemyRedUtility>(); bulletStorage = GameObject.FindWithTag("BulletStorage"); }
void Start() { startPos = transform.position; //store the initial position to offset the sin movement later on uti = gameObject.GetComponent <EnemyRedUtility>(); }