Ejemplo n.º 1
0
 // 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>();
 }
Ejemplo n.º 2
0
    void Start()
    {
        bss = bossfight.INSTANCE;

        initialPos = (Vector2)transform.position;
    }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Awake()
 {
     EnemiesCount = enemiesAmount;
     INSTANCE     = this;
 }
Ejemplo n.º 4
0
 void Start()
 {
     bss = bossfight.INSTANCE;
 }
Ejemplo n.º 5
0
 // Start is called before the first frame update
 void Start()
 {
     bss    = bossfight.INSTANCE;
     player = PlayerScript.INSTANCE.transform;
 }