コード例 #1
0
ファイル: GUIResearch.cs プロジェクト: Lelon55/SpaceGame
    private void Start()
    {
        stats = GameObject.Find("Scripts").GetComponent <statystyki>();
        GUIPlanetOperations = GameObject.Find("Interface").GetComponent <GUIPlanetOperations>();

        research.Add(new ListResearches(0, "Shield", "Each level of shield gives +1 life. Max lvl causes immortal for first collision with comet or enemy laser.", 100, 0, 0, 1, 1));
        research.Add(new ListResearches(1, "Combustion", "Each level of combustion causes -1 consumtpion from ships. Max lvl gives 10% chance for 0 consumption on start exploration of space.", 300, 0, 500, 2, 1));
        research.Add(new ListResearches(2, "Laser Technology", "Each level of laser technology gives more lasers to buy. Max lvl causes more damage from lasers on enemy ship.", 75, 225, 0, 3, 1));
        research.Add(new ListResearches(3, "Mining Technology", "Each level of mining technology gives +2 max drop from comets. Max lvl causes +5 extra drop resource from comet.", 200, 350, 175, 4, 1));
        research.Add(new ListResearches(4, "Antymatery Technology", "Each level of antymatery technology gives +1 chance drop antymatery from comets. Max lvl causes +1 max drop antymatery for watch ads.", 500, 500, 500, 5, 1));
        GUIPlanetOperations.View_Subject(researches, "Laboratory");
    }
コード例 #2
0
 private void LateUpdate()
 {
     CheckLaser();
     GUIPlanetOperations.View_Subject(laserss, "Laser Technology");
 }
コード例 #3
0
ファイル: GUIResearch.cs プロジェクト: Lelon55/SpaceGame
 private void LateUpdate()
 {
     CheckResearch();
     SetButtons();
     GUIPlanetOperations.View_Subject(researches, "Laboratory");
 }
コード例 #4
0
 private void LateUpdate()
 {
     CheckShip();
     GUIPlanetOperations.View_Subject(go_ships, "Hangar");
 }