Пример #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>();
 }
Пример #2
0
    void Start()
    {
        bss = bossfight.INSTANCE;

        initialPos = (Vector2)transform.position;
    }
Пример #3
0
 // Start is called before the first frame update
 void Awake()
 {
     EnemiesCount = enemiesAmount;
     INSTANCE     = this;
 }
Пример #4
0
 void Start()
 {
     bss = bossfight.INSTANCE;
 }
Пример #5
0
 // Start is called before the first frame update
 void Start()
 {
     bss    = bossfight.INSTANCE;
     player = PlayerScript.INSTANCE.transform;
 }