Little fix
This commit is contained in:
parent
71add3c316
commit
d504211785
|
@ -23,6 +23,7 @@ public class DissolveEffect : MonoBehaviour
|
|||
[ContextMenu("Dissolve")]
|
||||
public void Dissolve()
|
||||
{
|
||||
_timeElapsed = 0;
|
||||
_action = true;
|
||||
}
|
||||
|
||||
|
@ -45,5 +46,9 @@ public class DissolveEffect : MonoBehaviour
|
|||
|
||||
_timeElapsed += Time.deltaTime;
|
||||
}
|
||||
else
|
||||
{
|
||||
_action = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue