void Start() { arr2 = new int[6]; wallScript = wall.GetComponent <EnemyWall>(); roomPosition = new Vector2[] { new Vector2(-60.7f, -2.3f), new Vector2(-53.99f, -47.26f), new Vector2(-9.02f, -47.26f), new Vector2(0f, 0f), new Vector2(-42.72f, 33.78f), new Vector2(-83.3f, 29.3f) }; randomize(arr1, arr1.Length); placeTilemaps(); }
void Start() { //wallScript.enabled = false; wallScript = wall.GetComponent <EnemyWall>(); animator = GetComponent <Animator>(); }