MusicBeat
This commit is contained in:
@@ -34,6 +34,7 @@ namespace Cielonos.MainGame
|
||||
public string spamGroupName;
|
||||
public bool isEnabling;
|
||||
public bool canTriggerHitEvent = true;
|
||||
public List<string> tags = new List<string>();
|
||||
public Action updateAction;
|
||||
|
||||
[Title("Submodules")]
|
||||
@@ -58,6 +59,7 @@ namespace Cielonos.MainGame
|
||||
this.itemSource = itemSource;
|
||||
this.targetFractions = targetFractions.ToList();
|
||||
this.canTriggerHitEvent = true;
|
||||
this.tags = new List<string>();
|
||||
|
||||
attackSm = null;
|
||||
timeSm = null;
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace Cielonos.MainGame
|
||||
public override void Update()
|
||||
{
|
||||
speed += acceleration * (timeScaleCoefficient * attackArea.creator.selfTimeSm.DeltaTime);
|
||||
speed = Mathf.Max(0, speed);
|
||||
//speed = Mathf.Max(0, speed);
|
||||
|
||||
if ((disableNegative && speed < 0) || !canMove)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user