This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Build Wasm failed after 3.33m. | |
emcc:WARNING: --llvm-lto ignored when using llvm backend | |
cache:INFO: generating system library: libfetch.a... (this will be cached in "D:\Develop\gamedev_education\ProjectTiny\ProjectTinySamples-master\Tiny3D\Library\DotsRuntimeBuild\artifacts\emscripten-cache-1.39.15\wasm\libfetch.a" for subsequent builds) | |
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640Traceback (most recent call last): | |
File "artifacts\Stevedore\emscripten-win\emcc.py", line 3937, in <module> | |
sys.exit(run(sys.argv)) | |
File "artifacts\Stevedore\emscripten-win\emcc.py", line 2339, in run | |
extra_files_to_link += system_libs.calculate([f for _, f in sorted(temp_files)] + extra_files_to_link, in_temp, link_as_cxx, forced=forced_stdlibs) | |
File "D:\Develop\gamedev_education\ProjectTiny\ProjectTinySamples-master\Tiny3D\Library\DotsRuntimeBuild\artifacts\Stevedore\emscripten-win\tools\system_libs.py", line 1596, in calculate | |
add_library(sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printhmembers(o, indent) | |
if type(o) == "table" then | |
if indent==nil then | |
printh("{") | |
printhmembers(o,0) | |
printh("}") | |
else | |
local padding="" | |
for i=0,indent do | |
padding=padding.." " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//[Omitted...] | |
public class CustomTransformationTrack : TrackAsset | |
{ | |
//[Omitted...] | |
public override void GatherProperties(PlayableDirector director, IPropertyCollector driver) | |
{ | |
#if UNITY_EDITOR | |
Transform trackBinding = director.GetGenericBinding(this) as Transform; | |
if (trackBinding == null) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//[Omited...] | |
public class CustomTransformationBehaviour : PlayableBehaviour | |
{ | |
//[Omited...] | |
public TimelineClip CustomClipReference { get; set; } | |
public override void OnGraphStart(Playable playable) | |
{ | |
CustomClipReference.displayName = transformation == null ? "none" : transformation.name; | |
base.OnGraphStart(playable); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//[Omitted...] | |
public class CustomTransformationTrack : TrackAsset | |
{ | |
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) | |
{ | |
var mixer = ScriptPlayable<CustomTransformationMixerBehaviour>.Create (graph, inputCount); | |
foreach (TimelineClip clip in GetClips()) | |
{ | |
var customClip = clip.asset as CustomTransformationClip; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//[Omitted...] | |
public class CustomTransformationTrack : TrackAsset | |
{ | |
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) | |
{ | |
var mixer = ScriptPlayable<CustomTransformationMixerBehaviour>.Create (graph, inputCount); | |
#if UNITY_EDITOR | |
CustomTransformationMixerBehaviour behaviour = mixer.GetBehaviour(); | |
behaviour.CustomTrackReference = this; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 1 - Overriding CreateTrackMixer in the CustomTransformationTrack class, | |
getting the start & end times for each clip, and passing them to the custom clip class. */ | |
//[Omitted...] | |
public class CustomTransformationTrack : TrackAsset | |
{ | |
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount) | |
{ | |
foreach (var clip in GetClips()) | |
{ |