コード例 #1
0
    // Start is called before the first frame update
    void Start()
    {
        this.GameOverCanvas.SetActive(false);
        this.bottomShelfItems = new Dictionary <string, bool>();
        this.IS = GameObject.FindGameObjectWithTag("itemHandler").GetComponent <itemSpawner>();

        this.completedSimulationOnce = false;
        this.endGamePrompt           = false;

        this.currentNumberOfItemsPlaced = 0;
    }
コード例 #2
0
ファイル: objectPickUp.cs プロジェクト: tommoon/DeadofNight
 // Use this for initialization
 void Start()
 {
     spawner = GameObject.FindGameObjectWithTag("ItemSpawner").GetComponent <itemSpawner> ();
 }