mirror of
https://github.com/Project-Redacted/Highscores-Server.git
synced 2025-05-23 11:54:52 +00:00
Add example Unity Project
This commit is contained in:
parent
fda7ff28dd
commit
e3acdb9d6b
7122 changed files with 505543 additions and 2 deletions
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Playables;
|
||||
|
||||
namespace UnityEngine.Timeline
|
||||
{
|
||||
/// <summary>
|
||||
/// A PlayableTrack is a track whose clips are custom playables.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is a track that can contain PlayableAssets that are found in the project and do not have their own specified track type.
|
||||
/// </remarks>
|
||||
[Serializable]
|
||||
public class PlayableTrack : TrackAsset
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void OnCreateClip(TimelineClip clip)
|
||||
{
|
||||
if (clip.asset != null)
|
||||
clip.displayName = clip.asset.GetType().Name;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 82cd92ffc29383742932b27ca414c80f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Add table
Add a link
Reference in a new issue