// Start is called before the first frame update void Start() { bss = bossfight.INSTANCE; player = GameObject.FindGameObjectsWithTag("Player")[0].transform; playerScript = PlayerScript.INSTANCE; rb = GetComponent <Rigidbody2D>(); }
void Start() { bss = bossfight.INSTANCE; initialPos = (Vector2)transform.position; }
// Start is called before the first frame update void Awake() { EnemiesCount = enemiesAmount; INSTANCE = this; }
void Start() { bss = bossfight.INSTANCE; }
// Start is called before the first frame update void Start() { bss = bossfight.INSTANCE; player = PlayerScript.INSTANCE.transform; }