コード例 #1
0
    // Start is called before the first frame update
    void Start()
    {
        ui         = FindObjectOfType <BUI>();
        controller = FindObjectOfType <BController>();
        if (level >= 2)
        {
            controller.Tutorial_1_2();
            controller.Tutorial_2_3();
        }

        spawnPoints.ToList().ForEach((sp) =>
        {
            sp.gameObject.SetActive(false);
        });
        ActivateSpawnPointsOfLevel(Mathf.Max(0, level));

        spawners.ToList().ForEach((sp) =>
        {
            sp.gameObject.SetActive(false);
        });
        ActivateSpawnersOfLevel(Mathf.Max(0, level));
    }
コード例 #2
0
 public AController(
     BController bController)
 {
     _bController = bController;
 }
コード例 #3
0
 public void SetControll(BController controller)
 {
     this.controller = controller;
 }