Add example Unity Project

This commit is contained in:
Michał Gdula 2023-04-26 01:55:33 +01:00
parent fda7ff28dd
commit e3acdb9d6b
7122 changed files with 505543 additions and 2 deletions

View file

@ -0,0 +1,33 @@
using System;
using UnityEngine;
namespace UnityEngine.Timeline
{
/// <summary>
/// Attribute used to specify the color of the track and its clips inside the Timeline Editor.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class TrackColorAttribute : Attribute
{
Color m_Color;
/// <summary>
///
/// </summary>
public Color color
{
get { return m_Color; }
}
/// <summary>
/// Specify the track color using [0-1] R,G,B values.
/// </summary>
/// <param name="r">Red value [0-1].</param>
/// <param name="g">Green value [0-1].</param>
/// <param name="b">Blue value [0-1].</param>
public TrackColorAttribute(float r, float g, float b)
{
m_Color = new Color(r, g, b);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 6c3d52cc5c46d7946a920e21901ff38e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: