|
@@ -161,6 +161,16 @@ public class PlayerController : MoveCharacter
|
|
|
}
|
|
}
|
|
|
[HideInInspector]
|
|
[HideInInspector]
|
|
|
public bool isClickBtnEast;
|
|
public bool isClickBtnEast;
|
|
|
|
|
+ public bool btnTransfiguratePress
|
|
|
|
|
+ {
|
|
|
|
|
+ get
|
|
|
|
|
+ {
|
|
|
|
|
+ //return Input.GetKeyDown(KeyCode.L) || isClickBtnEast;
|
|
|
|
|
+ return isClickBtnTransfigurate;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ [HideInInspector]
|
|
|
|
|
+ public bool isClickBtnTransfigurate;
|
|
|
public bool btnWestPress
|
|
public bool btnWestPress
|
|
|
{
|
|
{
|
|
|
get
|
|
get
|
|
@@ -461,15 +471,7 @@ public class PlayerController : MoveCharacter
|
|
|
{
|
|
{
|
|
|
if (!isFloat && canMove)
|
|
if (!isFloat && canMove)
|
|
|
{
|
|
{
|
|
|
- if (!isTransfiguration)
|
|
|
|
|
- {
|
|
|
|
|
- Transfiguration((int)spirits.currentSpirit + 3);
|
|
|
|
|
- }
|
|
|
|
|
- else
|
|
|
|
|
- {
|
|
|
|
|
- isUltimate = true;
|
|
|
|
|
- keyTransfigurateRelease = false;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -539,6 +541,19 @@ public class PlayerController : MoveCharacter
|
|
|
Summon(2);
|
|
Summon(2);
|
|
|
return true;
|
|
return true;
|
|
|
}
|
|
}
|
|
|
|
|
+ if (btnTransfiguratePress)
|
|
|
|
|
+ {
|
|
|
|
|
+ if (!isTransfiguration)
|
|
|
|
|
+ {
|
|
|
|
|
+ Transfiguration((int)spirits.currentSpirit + 3);
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ isUltimate = true;
|
|
|
|
|
+ keyTransfigurateRelease = false;
|
|
|
|
|
+ }
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
if (isSpiritSummon)
|
|
if (isSpiritSummon)
|
|
|
{
|
|
{
|
|
|
Transfiguration(3);
|
|
Transfiguration(3);
|
|
@@ -1217,6 +1232,7 @@ public class PlayerController : MoveCharacter
|
|
|
isSpiritSummon1 = false;
|
|
isSpiritSummon1 = false;
|
|
|
isSpiritSummon2 = false;
|
|
isSpiritSummon2 = false;
|
|
|
isSpiritSummon3 = false;
|
|
isSpiritSummon3 = false;
|
|
|
|
|
+ isClickBtnTransfigurate = false;
|
|
|
|
|
|
|
|
if (foot.TrigGround)
|
|
if (foot.TrigGround)
|
|
|
{
|
|
{
|