コード例 #1
0
ファイル: jumping_enemy.cs プロジェクト: LCSP/GGJ2020
 // 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
ファイル: EnemyScript.cs プロジェクト: LCSP/GGJ2020
    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;
 }