Skip to content

Commit 18342c3

Browse files
committed
Rename RaymarchingWorldSandwichComponet -> LocalTimeComponet
1 parent 6d3be50 commit 18342c3

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.idea/.idea.unity-demoscene/.idea/contentModel.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Demoscene/Scripts/Components/RaymarchingWorldSandwichComponet.cs renamed to Assets/Demoscene/Scripts/Components/LocalTimeComponet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Demoscene
44
{
5-
public class RaymarchingWorldSandwichComponet : MonoBehaviour
5+
public class LocalTimeComponet : MonoBehaviour
66
{
77
readonly int timePropertyId = Shader.PropertyToID("_LocalTime");
88

@@ -17,4 +17,4 @@ public void ApplyTime(float time)
1717
material.SetFloat(timePropertyId, time);
1818
}
1919
}
20-
}
20+
}

Assets/Demoscene/Scripts/Timeline/RaymarchingWolrdSandwich/RaymarchingWolrdSandwichMixerBehaviour.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class RaymarchingWolrdSandwichMixerBehaviour : PlayableBehaviour
1111
// NOTE: This function is called at runtime and edit time. Keep that in mind when setting the values of properties.
1212
public override void ProcessFrame(Playable playable, FrameData info, object playerData)
1313
{
14-
RaymarchingWorldSandwichComponet trackBinding = playerData as RaymarchingWorldSandwichComponet;
14+
LocalTimeComponet trackBinding = playerData as LocalTimeComponet;
1515

1616
if (!trackBinding)
1717
return;
@@ -28,7 +28,7 @@ public override void ProcessFrame(Playable playable, FrameData info, object play
2828
{
2929
continue;
3030
}
31-
31+
3232
ScriptPlayable<RaymarchingWolrdSandwichBehaviour> inputPlayable =
3333
(ScriptPlayable<RaymarchingWolrdSandwichBehaviour>) playable.GetInput(i);
3434
RaymarchingWolrdSandwichBehaviour input = inputPlayable.GetBehaviour();
@@ -41,8 +41,8 @@ public override void ProcessFrame(Playable playable, FrameData info, object play
4141
maxWeight = weight;
4242
}
4343
}
44-
44+
4545
trackBinding.ApplyTime(time);
4646
}
4747
}
48-
}
48+
}

Assets/Demoscene/Scripts/Timeline/RaymarchingWolrdSandwich/RaymarchingWolrdSandwichTrack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Demoscene
66
{
77
[TrackColor(0.855f, 0.8623f, 0.87f)]
88
[TrackClipType(typeof(RaymarchingWolrdSandwichClip))]
9-
[TrackBindingType(typeof(RaymarchingWorldSandwichComponet))]
9+
[TrackBindingType(typeof(LocalTimeComponet))]
1010
public class RaymarchingWolrdSandwichTrack : TrackAsset
1111
{
1212
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)

0 commit comments

Comments
 (0)