Esempio n. 1
0
    //パラメータを更新する
    public void UpdateLure()
    {
        string str = "";

        if (!currentTackle.isSoft)
        {
            str             = Constants.LureDatas.avility[currentTackle.lureNum];
            tParams.avility = PSGameUtils.StringToBoolArray(str);
        }
        else
        {
            int currentRig = GetEquippedRigID(currentTackle.lureNum);
            tParams.avility = PSGameUtils.MergeAvility(Constants.RigDatas.avilitys[currentRig], Constants.SoftLureDatas.avilitys[currentTackle.lureNum]);
        }
    }
Esempio n. 2
0
 public void setCK(string data)
 {
     bool[] dat = new bool[6] {
         false, false, false, false, false, false
     };
     if (data != "")
     {
         dat = PSGameUtils.StringToBoolArray(data);
         if (dat.Length != avilTs.Length)
         {
             Debug.LogError("not match ");
             dat = new bool[6] {
                 false, false, false, false, false, false
             };
         }
     }
     for (int i = 0; i < avilTs.Length; i++)
     {
         avilTs[i].value = dat[i];
     }
 }
Esempio n. 3
0
 public bool[] GetSPAvility(int current)
 {
     return(PSGameUtils.StringToBoolArray(Constants.LureDatas.avility[current]));
 }