This commit is contained in:
parent
e9f71f53c5
commit
3c2f3f7f3c
|
@ -11,6 +11,7 @@ public class TooRoomlMannger : MonoBehaviour
|
|||
public Transform HandSlot;
|
||||
private List<Material> _cancel; //帤援渴第窐ヶ
|
||||
private List<Material> _wear; //援渴第窐ヶ
|
||||
public bool isChange = false;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
@ -24,10 +25,11 @@ public class TooRoomlMannger : MonoBehaviour
|
|||
tmd.GetInfo();
|
||||
}
|
||||
}
|
||||
public void Wear(string equipName, bool ischange)
|
||||
public void Wear(string equipName)
|
||||
{
|
||||
isChange = !isChange;
|
||||
Material ma = null;
|
||||
if (ischange)
|
||||
if (isChange)
|
||||
{
|
||||
ma = _wear.SingleOrDefault(s => s.name == equipName);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue