コード例 #1
0
    void Update()
    {
        NonUP Data = UIElements11.GetComponent <NonUP>();

        i        = Data.ULevel;
        Lvl.text = "LevelUp(" + i + ")";
    }
コード例 #2
0
    void Start()
    {
        NonUP Data = GetComponent <NonUP>();

        i  = Data.Dexternity;
        i1 = Data.Dexternity;
    }
コード例 #3
0
    void Start()
    {
        NonUP Data = GetComponent <NonUP>();

        i  = Data.Endurance;
        i1 = Data.Endurance;
    }
コード例 #4
0
    void Start()
    {
        NonUP Data = GetComponent <NonUP>();

        i  = Data.Vitality;
        i1 = Data.Vitality;
    }
コード例 #5
0
    void Start()
    {
        NonUP Data = GetComponent <NonUP>();

        i  = Data.Constitution;
        i1 = Data.Constitution;
    }
コード例 #6
0
    public void Changepoint(int amount)
    {
        points = points + amount;

        string s1;

        s1 = (points).ToString();
        selectedName1.text = s1;
        NonUP A = GetComponent <NonUP>();

        A.Point1(points);
    }
コード例 #7
0
 public void Red()
 {
     info.text = "Dexternity : Increases Agility";
     if (i > i1)
     {
         i = i - 1;
         StatPoint rb = GetComponent <StatPoint>();
         double    a  = rb.points;
         rb.Changepoint(+1);
         Debug.Log(a);
         string s;
         s = (i).ToString();
         selectedName.text = s;
         NonUP SD = GetComponent <NonUP>();
         SD.Dexternity1(i);
     }
 }
コード例 #8
0
 public void Red()
 {
     info.text = "Endurance : Increases HP And Stamina";
     if (i > i1)
     {
         i = i - 1;
         StatPoint rb = GetComponent <StatPoint>();
         double    a  = rb.points;
         rb.Changepoint(+1);
         Debug.Log(a);
         string s;
         s = (i).ToString();
         selectedName.text = s;
         NonUP SD = GetComponent <NonUP>();
         SD.Endurance1(i);
     }
 }
コード例 #9
0
 public void Red()
 {
     info.text = "Vitality : Increases Physical Defence/Resistance";
     if (i > i1)
     {
         i = i - 1;
         StatPoint rb = GetComponent <StatPoint>();
         double    a  = rb.points;
         rb.Changepoint(+1);
         Debug.Log(a);
         string s;
         s = (i).ToString();
         selectedName.text = s;
         NonUP SD = GetComponent <NonUP>();
         SD.Vitality1(i);
     }
 }
コード例 #10
0
 public void Red()
 {
     info.text = "Constitution : Increases Increase Magic Defense/Resistance";
     if (i > i1)
     {
         i = i - 1;
         StatPoint rb = GetComponent <StatPoint>();
         double    a  = rb.points;
         rb.Changepoint(+1);
         Debug.Log(a);
         string s;
         s = (i).ToString();
         selectedName.text = s;
         NonUP SD = GetComponent <NonUP>();
         SD.Constitution1(i);
     }
 }
コード例 #11
0
    void Start()
    {
        NonUP Data = GetComponent <NonUP>();

        points = (Data.ULevel) * 5;
    }
コード例 #12
0
    void Update()
    {
        NonUP Data = UIElements6.GetComponent <NonUP>();

        i = Data.ULevel;
    }