示例#1
0
    public void Start()
    {
        instance = this;
        bulletManager.CreateObjects(bulletCount);

        Instantiate(DatabaseContainer.instance.characterDatabase.
                    data[charCount].objectSet,
                    Vector3.zero, Quaternion.identity);

        playerManager.Initialize();
        playerManager.target.Initialize();

        bossScript.Initialize();

        effectManager.CreateObjects(100);

        feverButton.interactable = false;
    }
示例#2
0
    private void Start()
    {
        Instantiate(DatabaseContainer.instance.characterDatabase.
                    data[SaveDataContainer.instance.saveData.characterSelect].objectSet,
                    Vector3.zero, Quaternion.identity);
        // Instantiate(players[data],Vector3.zero,Quaternion.identity);

        FindObjects();

        //Screen.SetResolution(1280,720,true);

        bulletManager.CreateObjects(bulletCount);
        effectManager.CreateObjects(100);
        EnemyManager.instance.CreateObjects(0, 30);
        EnemyManager.instance.CreateObjects(1, 10);
        EnemyManager.instance.CreateObjects(2, 10);
        uIManager.Initialize();
        //EnemyManager.instance.ObjectActive(0,Vector3.zero,10f);
        //bulletManager.ObjectActive(Vector2.zero,3f,1f,0f);
    }