Added skinned mesh collider. Changed Heat Reset from list to event action. Added curve to heat buildup
This commit is contained in:
@@ -54,6 +54,8 @@ namespace GhostSystem
|
||||
|
||||
private DateTime latestLoadedTimestamp;
|
||||
|
||||
public static event Action OnRestartLoop;
|
||||
|
||||
[Serializable]
|
||||
public class TrackedObjectBinding
|
||||
{
|
||||
@@ -247,11 +249,8 @@ namespace GhostSystem
|
||||
if (Loop)
|
||||
{
|
||||
playbackTime = 0f;
|
||||
foreach (RecieveHeat target in heatTargets)
|
||||
{
|
||||
target.SetHeat(0);
|
||||
}
|
||||
}
|
||||
OnRestartLoop?.Invoke();
|
||||
}
|
||||
else
|
||||
isPlaying = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user