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