|
@@ -12,11 +12,13 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
mHead2[k] = gHead2[k].AddComponent<MouseDrag5>();
|
|
mHead2[k] = gHead2[k].AddComponent<MouseDrag5>();
|
|
mHead2[k].obj = gHead2[k];
|
|
mHead2[k].obj = gHead2[k];
|
|
gHead2[k].transform.localScale = new Vector3(0.2f, 0.24f, 0.2f);
|
|
gHead2[k].transform.localScale = new Vector3(0.2f, 0.24f, 0.2f);
|
|
|
|
+ gHead2[k].layer = 8;
|
|
gMaid2[k] = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
|
gMaid2[k] = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
|
gMaid2[k].GetComponent<Renderer>().enabled = false;
|
|
gMaid2[k].GetComponent<Renderer>().enabled = false;
|
|
mMaid2[k] = gMaid2[k].AddComponent<MouseDrag5>();
|
|
mMaid2[k] = gMaid2[k].AddComponent<MouseDrag5>();
|
|
mMaid2[k].obj = gMaid2[k];
|
|
mMaid2[k].obj = gMaid2[k];
|
|
gMaid2[k].transform.localScale = new Vector3(0.2f, 0.3f, 0.24f);
|
|
gMaid2[k].transform.localScale = new Vector3(0.2f, 0.3f, 0.24f);
|
|
|
|
+ gMaid2[k].layer = 8;
|
|
}
|
|
}
|
|
|
|
|
|
private void SetIKInit7(int k)
|
|
private void SetIKInit7(int k)
|
|
@@ -26,11 +28,13 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
mIKMuneL[k] = gIKMuneL[k].AddComponent<MouseDrag>();
|
|
mIKMuneL[k] = gIKMuneL[k].AddComponent<MouseDrag>();
|
|
mIKMuneL[k].obj = gIKMuneL[k];
|
|
mIKMuneL[k].obj = gIKMuneL[k];
|
|
gIKMuneL[k].transform.localScale = new Vector3(0.12f, 0.12f, 0.12f);
|
|
gIKMuneL[k].transform.localScale = new Vector3(0.12f, 0.12f, 0.12f);
|
|
|
|
+ gIKMuneL[k].layer = 8;
|
|
gIKMuneR[k] = GameObject.CreatePrimitive(PrimitiveType.Sphere);
|
|
gIKMuneR[k] = GameObject.CreatePrimitive(PrimitiveType.Sphere);
|
|
gIKMuneR[k].GetComponent<Renderer>().enabled = false;
|
|
gIKMuneR[k].GetComponent<Renderer>().enabled = false;
|
|
mIKMuneR[k] = gIKMuneR[k].AddComponent<MouseDrag>();
|
|
mIKMuneR[k] = gIKMuneR[k].AddComponent<MouseDrag>();
|
|
mIKMuneR[k].obj = gIKMuneR[k];
|
|
mIKMuneR[k].obj = gIKMuneR[k];
|
|
gIKMuneR[k].transform.localScale = new Vector3(0.12f, 0.12f, 0.12f);
|
|
gIKMuneR[k].transform.localScale = new Vector3(0.12f, 0.12f, 0.12f);
|
|
|
|
+ gIKMuneR[k].layer = 8;
|
|
}
|
|
}
|
|
|
|
|
|
private void SetIKInit5(int k)
|
|
private void SetIKInit5(int k)
|
|
@@ -59,11 +63,13 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
mJotai[k] = gJotai[k].AddComponent<MouseDrag3>();
|
|
mJotai[k] = gJotai[k].AddComponent<MouseDrag3>();
|
|
mJotai[k].obj = gJotai[k];
|
|
mJotai[k].obj = gJotai[k];
|
|
gJotai[k].transform.localScale = new Vector3(0.2f, 0.19f, 0.24f);
|
|
gJotai[k].transform.localScale = new Vector3(0.2f, 0.19f, 0.24f);
|
|
|
|
+ gJotai[k].layer = 8;
|
|
gKahuku[k] = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
|
gKahuku[k] = GameObject.CreatePrimitive(PrimitiveType.Capsule);
|
|
gKahuku[k].GetComponent<Renderer>().enabled = false;
|
|
gKahuku[k].GetComponent<Renderer>().enabled = false;
|
|
mKahuku[k] = gKahuku[k].AddComponent<MouseDrag3>();
|
|
mKahuku[k] = gKahuku[k].AddComponent<MouseDrag3>();
|
|
mKahuku[k].obj = gKahuku[k];
|
|
mKahuku[k].obj = gKahuku[k];
|
|
gKahuku[k].transform.localScale = new Vector3(0.2f, 0.15f, 0.24f);
|
|
gKahuku[k].transform.localScale = new Vector3(0.2f, 0.15f, 0.24f);
|
|
|
|
+ gKahuku[k].layer = 8;
|
|
}
|
|
}
|
|
|
|
|
|
private void SetIKInit3(int k)
|
|
private void SetIKInit3(int k)
|
|
@@ -73,6 +79,7 @@ namespace CM3D2.MultipleMaids.Plugin
|
|
mMaid[k] = gMaid[k].AddComponent<MouseDrag2>();
|
|
mMaid[k] = gMaid[k].AddComponent<MouseDrag2>();
|
|
mMaid[k].obj = gMaid[k];
|
|
mMaid[k].obj = gMaid[k];
|
|
gMaid[k].transform.localScale = new Vector3(0.2f, 0.3f, 0.24f);
|
|
gMaid[k].transform.localScale = new Vector3(0.2f, 0.3f, 0.24f);
|
|
|
|
+ gMaid[k].layer = 8;
|
|
gMaidC[k] = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
gMaidC[k] = GameObject.CreatePrimitive(PrimitiveType.Cube);
|
|
gMaidC[k].GetComponent<Renderer>().enabled = true;
|
|
gMaidC[k].GetComponent<Renderer>().enabled = true;
|
|
mMaidC[k] = gMaidC[k].AddComponent<MouseDrag2>();
|
|
mMaidC[k] = gMaidC[k].AddComponent<MouseDrag2>();
|