|
|
|
@ -344,6 +344,7 @@ public class Main : MonoBehaviour
|
|
|
|
|
#region Action
|
|
|
|
|
public void setState(int i)
|
|
|
|
|
{
|
|
|
|
|
setTrigger("EventStep");
|
|
|
|
|
if (i == 6) removeWeapon();
|
|
|
|
|
if (i == 2 || i == 3) rotate180();
|
|
|
|
|
else rotate0();
|
|
|
|
@ -415,7 +416,7 @@ public class Main : MonoBehaviour
|
|
|
|
|
setTrigger("BattleStartPlayer");
|
|
|
|
|
setTrigger("EventStep");
|
|
|
|
|
Invoke("EventStep", 0.2f);
|
|
|
|
|
Invoke("EventStep", 5f);
|
|
|
|
|
//Invoke("EventStep", 5f);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setSpeed(float value)
|
|
|
|
|