コード例 #1
0
ファイル: EndGame.cs プロジェクト: schinma/Lost-Astronaut
 // Use this for initialization
 void Start()
 {
     RepairPanel.SetActive(false);
     EndPanel.SetActive(false);
     GameOverPanel.SetActive(false);
     shipParts = FindObjectOfType <ShipPartManager>();
     Finish    = false;
 }
コード例 #2
0
ファイル: ShipPart.cs プロジェクト: schinma/Lost-Astronaut
    private void Start()
    {
        manager = FindObjectOfType <ShipPartManager>();

        _audioSource = GetComponent <AudioSource>();
    }