浏览代码

Add unity project

/main
Meriem Ghomari 6 年前
当前提交
747b0749
共有 3931 个文件被更改,包括 11306 次插入0 次删除
  1. 9
      .gitattributes
  2. 10
      FontainebleauDemo/Assets/CinemachinePostProcessingV2.meta
  3. 252
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/CinemachinePostProcessing.cs
  4. 12
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/CinemachinePostProcessing.cs.meta
  5. 10
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor.meta
  6. 226
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/CinemachinePostProcessingEditor.cs
  7. 12
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/CinemachinePostProcessingEditor.cs.meta
  8. 8
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/Resources.meta
  9. 282
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/Resources/PostProcessLayer.png
  10. 83
      FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/Resources/PostProcessLayer.png.meta
  11. 9
      FontainebleauDemo/Assets/Demo.meta
  12. 9
      FontainebleauDemo/Assets/Demo/Animation.meta
  13. 973
      FontainebleauDemo/Assets/Demo/Animation/FlybyCameraTimeline.playable
  14. 9
      FontainebleauDemo/Assets/Demo/Animation/FlybyCameraTimeline.playable.meta
  15. 199
      FontainebleauDemo/Assets/Demo/Animation/LoaderAnimation.anim
  16. 8
      FontainebleauDemo/Assets/Demo/Animation/LoaderAnimation.anim.meta
  17. 69
      FontainebleauDemo/Assets/Demo/Animation/Loading.controller
  18. 8
      FontainebleauDemo/Assets/Demo/Animation/Loading.controller.meta
  19. 1001
      FontainebleauDemo/Assets/Demo/Animation/Photogrammetry_Video_day.playable
  20. 9
      FontainebleauDemo/Assets/Demo/Animation/Photogrammetry_Video_day.playable.meta
  21. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots.meta
  22. 377
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/Camera01.controller
  23. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/Camera01.controller.meta
  24. 355
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/dragon_shot.anim
  25. 10
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/dragon_shot.anim.meta
  26. 316
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/drone_shot01.anim
  27. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/drone_shot01.anim.meta
  28. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot01.anim
  29. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot01.anim.meta
  30. 316
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot02.anim
  31. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot02.anim.meta
  32. 355
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot03.anim
  33. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot03.anim.meta
  34. 316
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot04.anim
  35. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/night_shot04.anim.meta
  36. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot01.anim
  37. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot01.anim.meta
  38. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot02.anim
  39. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot02.anim.meta
  40. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot03.anim
  41. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot03.anim.meta
  42. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot04.anim
  43. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot04.anim.meta
  44. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot05.anim
  45. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot05.anim.meta
  46. 316
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot05_reversed.anim
  47. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot05_reversed.anim.meta
  48. 292
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot06.anim
  49. 9
      FontainebleauDemo/Assets/Demo/Animation/VideoShots/shot06.anim.meta
  50. 9
      FontainebleauDemo/Assets/Demo/Audio.meta
  51. 217
      FontainebleauDemo/Assets/Demo/Audio/Demo.mixer
  52. 9
      FontainebleauDemo/Assets/Demo/Audio/Demo.mixer.meta
  53. 9
      FontainebleauDemo/Assets/Demo/Audio/Music.meta
  54. 21
      FontainebleauDemo/Assets/Demo/Audio/Music/Unity_GDC_Music_Day_Loop.wav.meta
  55. 21
      FontainebleauDemo/Assets/Demo/Audio/Music/Unity_GDC_Music_Demo_WIP_1.wav.meta
  56. 21
      FontainebleauDemo/Assets/Demo/Audio/Music/Unity_GDC_Music_Night_Loop.wav.meta
  57. 21
      FontainebleauDemo/Assets/Demo/Audio/Music/Unity_GDC_Music_Sunset_Loop.wav.meta
  58. 9
      FontainebleauDemo/Assets/Demo/Audio/SFX.meta
  59. 9
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm.meta
  60. 9
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE.meta
  61. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 STEREO consolidate - 01 (Left).wav.meta
  62. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 STEREO consolidate - 02 (Right).wav.meta
  63. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 SURROUND consolidate - 01 (Left).wav.meta
  64. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 SURROUND consolidate - 02 (Right).wav.meta
  65. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 SURROUND consolidate - 03 (Center).wav.meta
  66. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 SURROUND consolidate - 04 (Lfe).wav.meta
  67. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 SURROUND consolidate - 05 (Left Surround).wav.meta
  68. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/Calm Forest 01 CONSOLIDATE/Calm Forest 01 SURROUND consolidate - 06 (Right Surround).wav.meta
  69. 9
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/blackbird.meta
  70. 1001
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/blackbird/blackbird_01.wav
  71. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/blackbird/blackbird_01.wav.meta
  72. 1001
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/blackbird/blackbird_02.wav
  73. 21
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/blackbird/blackbird_02.wav.meta
  74. 1001
      FontainebleauDemo/Assets/Demo/Audio/SFX/Calm/blackbird/blackbird_03.wav

9
.gitattributes


*.psd filter=lfs diff=lfs merge=lfs -text
*.unity filter=lfs diff=lfs merge=lfs -text
*.prefab filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.asset filter=lfs diff=lfs merge=lfs -text
*.fbx filter=lfs diff=lfs merge=lfs -text
*.tiff filter=lfs diff=lfs merge=lfs -text
*.tga filter=lfs diff=lfs merge=lfs -text
*.tif filter=lfs diff=lfs merge=lfs -text

10
FontainebleauDemo/Assets/CinemachinePostProcessingV2.meta


fileFormatVersion: 2
guid: da47b11ddd953884e969d8b804131a56
folderAsset: yes
timeCreated: 1517263093
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

252
FontainebleauDemo/Assets/CinemachinePostProcessingV2/CinemachinePostProcessing.cs


// NOTE: If you are getting errors of the sort that say something like:
// "The type or namespace name `PostProcessing' does not exist in the namespace"
// it is because the Post Processing Stack V2 module has not been installed in your project.
//
// To make the errors go away, you can either:
// 1 - Download PostProcessing V2 and install it into your project
// or
// 2 - Delete the CinemachinePostProcessingV2 folder from your project
//
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
namespace Cinemachine.PostFX
{
/// <summary>
/// This behaviour is a liaison between Cinemachine with the Post-Processing v2 module. You must
/// have the Post-Processing V2 stack asset store package installed in order to use this behaviour.
///
/// As a component on the Virtual Camera, it holds
/// a Post-Processing Profile asset that will be applied to the Unity camera whenever
/// the Virtual camera is live. It also has the optional functionality of animating
/// the Focus Distance and DepthOfField properties of the Camera State, and
/// applying them to the current Post-Processing profile, provided that profile has a
/// DepthOfField effect that is enabled.
/// </summary>
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[ExecuteInEditMode]
[AddComponentMenu("")] // Hide in menu
[SaveDuringPlay]
public class CinemachinePostProcessing : CinemachineExtension
{
[Tooltip("If checked, then the Focus Distance will be set to the distance between the camera and the LookAt target. Requires DepthOfField effect in the Profile")]
public bool m_FocusTracksTarget;
[Tooltip("Offset from target distance, to be used with Focus Tracks Target. Offsets the sharpest point away from the LookAt target.")]
public float m_FocusOffset;
[Tooltip("This Post-Processing profile will be applied whenever this virtual camera is live")]
public PostProcessProfile m_Profile;
bool mCachedProfileIsInvalid = true;
PostProcessProfile mProfileCopy;
public PostProcessProfile Profile { get { return mProfileCopy != null ? mProfileCopy : m_Profile; } }
/// <summary>True if the profile is enabled and nontrivial</summary>
public bool IsValid { get { return m_Profile != null && m_Profile.settings.Count > 0; } }
/// <summary>Called by the editor when the shared asset has been edited</summary>
public void InvalidateCachedProfile() { mCachedProfileIsInvalid = true; }
void CreateProfileCopy()
{
DestroyProfileCopy();
PostProcessProfile profile = ScriptableObject.CreateInstance<PostProcessProfile>();
if (m_Profile != null)
{
foreach (var item in m_Profile.settings)
{
var itemCopy = Instantiate(item);
profile.settings.Add(itemCopy);
}
}
mProfileCopy = profile;
mCachedProfileIsInvalid = false;
}
void DestroyProfileCopy()
{
if (mProfileCopy != null)
RuntimeUtility.DestroyObject(mProfileCopy);
mProfileCopy = null;
}
protected override void OnDestroy()
{
base.OnDestroy();
DestroyProfileCopy();
}
protected override void PostPipelineStageCallback(
CinemachineVirtualCameraBase vcam,
CinemachineCore.Stage stage, ref CameraState state, float deltaTime)
{
//UnityEngine.Profiling.Profiler.BeginSample("CinemachinePostProcessing.PostPipelineStageCallback");
// Set the focus after the camera has been fully positioned.
// GML todo: what about collider?
if (stage == CinemachineCore.Stage.Aim)
{
if (!IsValid)
DestroyProfileCopy();
else
{
// Handle Follow Focus
if (!m_FocusTracksTarget)
DestroyProfileCopy();
else
{
if (mProfileCopy == null || mCachedProfileIsInvalid)
CreateProfileCopy();
DepthOfField dof;
if (mProfileCopy.TryGetSettings(out dof))
{
float focusDistance = m_FocusOffset;
if (state.HasLookAt)
focusDistance += (state.FinalPosition - state.ReferenceLookAt).magnitude;
dof.focusDistance.value = Mathf.Max(0, focusDistance);
}
}
// Apply the post-processing
state.AddCustomBlendable(new CameraState.CustomBlendable(this, 1));
}
}
//UnityEngine.Profiling.Profiler.EndSample();
}
static void OnCameraCut(CinemachineBrain brain)
{
// Debug.Log("Camera cut event");
PostProcessLayer postFX = GetPPLayer(brain);
if (postFX != null)
postFX.ResetHistory();
}
static void ApplyPostFX(CinemachineBrain brain)
{
//UnityEngine.Profiling.Profiler.BeginSample("CinemachinePostProcessing.ApplyPostFX");
PostProcessLayer ppLayer = GetPPLayer(brain);
if (ppLayer == null || !ppLayer.enabled || ppLayer.volumeLayer == 0)
return;
CameraState state = brain.CurrentCameraState;
int numBlendables = state.NumCustomBlendables;
List<PostProcessVolume> volumes = GetDynamicBrainVolumes(brain, ppLayer, numBlendables);
for (int i = 0; i < volumes.Count; ++i)
{
volumes[i].weight = 0;
volumes[i].sharedProfile = null;
volumes[i].profile = null;
}
PostProcessVolume firstVolume = null;
int numPPblendables = 0;
for (int i = 0; i < numBlendables; ++i)
{
var b = state.GetCustomBlendable(i);
CinemachinePostProcessing src = b.m_Custom as CinemachinePostProcessing;
if (!(src == null)) // in case it was deleted
{
PostProcessVolume v = volumes[i];
if (firstVolume == null)
firstVolume = v;
v.sharedProfile = src.Profile;
v.isGlobal = true;
v.priority = float.MaxValue-(numBlendables-i)-1;
v.weight = b.m_Weight;
++numPPblendables;
}
#if true // set this to true to force first weight to 1
// If more than one volume, then set the frst one's weight to 1
if (numPPblendables > 1)
firstVolume.weight = 1;
#endif
}
//UnityEngine.Profiling.Profiler.EndSample();
}
static string sVolumeOwnerName = "__CMVolumes";
static List<PostProcessVolume> sVolumes = new List<PostProcessVolume>();
static List<PostProcessVolume> GetDynamicBrainVolumes(
CinemachineBrain brain, PostProcessLayer ppLayer, int minVolumes)
{
//UnityEngine.Profiling.Profiler.BeginSample("CinemachinePostProcessing.GetDynamicBrainVolumes");
// Locate the camera's child object that holds our dynamic volumes
GameObject volumeOwner = null;
Transform t = brain.transform;
int numChildren = t.childCount;
sVolumes.Clear();
for (int i = 0; volumeOwner == null && i < numChildren; ++i)
{
GameObject child = t.GetChild(i).gameObject;
if (child.hideFlags == HideFlags.HideAndDontSave)
{
child.GetComponents(sVolumes);
if (sVolumes.Count > 0)
volumeOwner = child;
}
}
if (minVolumes > 0)
{
if (volumeOwner == null)
{
volumeOwner = new GameObject(sVolumeOwnerName);
volumeOwner.hideFlags = HideFlags.HideAndDontSave;
volumeOwner.transform.parent = t;
}
// Update the volume's layer so it will be seen
int mask = ppLayer.volumeLayer.value;
for (int i = 0; i < 32; ++i)
{
if ((mask & (1 << i)) != 0)
{
volumeOwner.layer = i;
break;
}
}
while (sVolumes.Count < minVolumes)
sVolumes.Add(volumeOwner.gameObject.AddComponent<PostProcessVolume>());
}
//UnityEngine.Profiling.Profiler.EndSample();
return sVolumes;
}
static Dictionary<CinemachineBrain, PostProcessLayer> mBrainToLayer
= new Dictionary<CinemachineBrain, PostProcessLayer>();
static PostProcessLayer GetPPLayer(CinemachineBrain brain)
{
PostProcessLayer layer = null;
if (mBrainToLayer.TryGetValue(brain, out layer))
{
#if UNITY_EDITOR
// Maybe they added it since we last checked
if (layer != null || Application.isPlaying)
#endif
return layer;
}
layer = brain.GetComponent<PostProcessLayer>();
mBrainToLayer[brain] = layer;
if (layer != null)
brain.m_CameraCutEvent.AddListener(OnCameraCut);
else
brain.m_CameraCutEvent.RemoveListener(OnCameraCut);
return layer;
}
#if UNITY_EDITOR
[UnityEditor.InitializeOnLoad]
class EditorInitialize { static EditorInitialize() { InitializeModule(); } }
#endif
[RuntimeInitializeOnLoadMethod]
static void InitializeModule()
{
// Afetr the brain pushes the state to the camera, hook in to the PostFX
CinemachineCore.CameraUpdatedEvent.RemoveListener(ApplyPostFX);
CinemachineCore.CameraUpdatedEvent.AddListener(ApplyPostFX);
}
}
}

12
FontainebleauDemo/Assets/CinemachinePostProcessingV2/CinemachinePostProcessing.cs.meta


fileFormatVersion: 2
guid: 729aad4491e915a41bda2b8325cf757a
timeCreated: 1504838447
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {fileID: 2800000, guid: 5f2a108eb023faf43a809979fd3d38f2, type: 3}
userData:
assetBundleName:
assetBundleVariant:

10
FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor.meta


fileFormatVersion: 2
guid: 78baf3cd7b782f64c82263d4c2f91f3d
folderAsset: yes
timeCreated: 1517263093
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

226
FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/CinemachinePostProcessingEditor.cs


// NOTE: If you are getting errors of the sort that say something like:
// "The type or namespace name `PostProcessing' does not exist in the namespace"
// it is because the PostProcessing v2 module has been removed from your project.
//
// To make the errors go away, you can either:
// 1 - Download PostProcessing V2 and install it into your project
// or
// 2 - Go into PlayerSettings and remove the define for UNITY_POST_PROCESSING_STACK_V2
//
using UnityEngine;
using UnityEditor;
using UnityEngine.Rendering.PostProcessing;
using UnityEditor.Rendering.PostProcessing;
using UnityEngine.SceneManagement;
using System.IO;
namespace Cinemachine.PostFX.Editor
{
[CustomEditor(typeof(CinemachinePostProcessing))]
public sealed class CinemachinePostProcessingEditor
: Cinemachine.Editor.BaseEditor<CinemachinePostProcessing>
{
SerializedProperty m_Profile;
SerializedProperty m_FocusTracksTarget;
SerializedProperty m_FocusOffset;
EffectListEditor m_EffectList;
GUIContent m_ProfileLabel;
void OnEnable()
{
Texture textue = Resources.Load("PostProcessLayer") as Texture;
m_ProfileLabel = new GUIContent("Profile", textue, "A reference to a profile asset");
m_FocusTracksTarget = FindProperty(x => x.m_FocusTracksTarget);
m_FocusOffset = FindProperty(x => x.m_FocusOffset);
m_Profile = FindProperty(x => x.m_Profile);
m_EffectList = new EffectListEditor(this);
RefreshEffectListEditor(Target.m_Profile);
}
void OnDisable()
{
if (m_EffectList != null)
m_EffectList.Clear();
}
void RefreshEffectListEditor(PostProcessProfile asset)
{
if (m_EffectList == null)
m_EffectList = new EffectListEditor(this);
m_EffectList.Clear();
if (asset != null)
m_EffectList.Init(asset, new SerializedObject(asset));
}
public override void OnInspectorGUI()
{
serializedObject.Update();
if (m_FocusTracksTarget.boolValue)
{
bool valid = false;
DepthOfField dof;
if (Target.m_Profile != null && Target.m_Profile.TryGetSettings(out dof))
valid = dof.enabled && dof.active && dof.focusDistance.overrideState;
if (!valid)
EditorGUILayout.HelpBox(
"Focus Tracking requires an active DepthOfField/FocusDistance effect in the profile",
MessageType.Warning);
else
{
if (!Target.VirtualCamera.State.HasLookAt)
EditorGUILayout.HelpBox(
"Focus Offset is relative to the Camera position",
MessageType.Info);
else
EditorGUILayout.HelpBox(
"Focus Offset is relative to the Target position",
MessageType.Info);
}
}
var rect = GUILayoutUtility.GetRect(1, EditorGUIUtility.singleLineHeight); rect.y += 2;
float checkboxWidth = rect.height + 5;
rect = EditorGUI.PrefixLabel(rect, new GUIContent(m_FocusTracksTarget.displayName));
EditorGUI.PropertyField(new Rect(rect.x, rect.y, checkboxWidth, rect.height), m_FocusTracksTarget, GUIContent.none);
rect.x += checkboxWidth; rect.width -= checkboxWidth;
if (m_FocusTracksTarget.boolValue)
{
GUIContent offsetText = new GUIContent("Offset ");
var textDimensions = GUI.skin.label.CalcSize(offsetText);
float oldWidth = EditorGUIUtility.labelWidth;
EditorGUIUtility.labelWidth = textDimensions.x;
EditorGUI.PropertyField(rect, m_FocusOffset, offsetText);
EditorGUIUtility.labelWidth = oldWidth;
}
DrawProfileInspectorGUI();
Target.InvalidateCachedProfile();
serializedObject.ApplyModifiedProperties();
}
public static PostProcessProfile CreatePostProcessProfile(Scene scene, string targetName)
{
var path = string.Empty;
if (string.IsNullOrEmpty(scene.path))
{
path = "Assets/";
}
else
{
var scenePath = Path.GetDirectoryName(scene.path);
var extPath = scene.name + "_Profiles";
var profilePath = scenePath + "/" + extPath;
if (!AssetDatabase.IsValidFolder(profilePath))
AssetDatabase.CreateFolder(scenePath, extPath);
path = profilePath + "/";
}
path += targetName + " Profile.asset";
path = AssetDatabase.GenerateUniqueAssetPath(path);
var profile = ScriptableObject.CreateInstance<PostProcessProfile>();
AssetDatabase.CreateAsset(profile, path);
AssetDatabase.SaveAssets();
AssetDatabase.Refresh();
return profile;
}
void DrawProfileInspectorGUI()
{
EditorGUILayout.Space();
bool assetHasChanged = false;
bool showCopy = m_Profile.objectReferenceValue != null;
// The layout system sort of break alignement when mixing inspector fields with custom
// layouted fields, do the layout manually instead
int buttonWidth = showCopy ? 45 : 60;
float indentOffset = EditorGUI.indentLevel * 15f;
var lineRect = GUILayoutUtility.GetRect(1, EditorGUIUtility.singleLineHeight);
var labelRect = new Rect(lineRect.x, lineRect.y, EditorGUIUtility.labelWidth - indentOffset, lineRect.height);
var fieldRect = new Rect(labelRect.xMax, lineRect.y, lineRect.width - labelRect.width - buttonWidth * (showCopy ? 2 : 1), lineRect.height);
var buttonNewRect = new Rect(fieldRect.xMax, lineRect.y, buttonWidth, lineRect.height);
var buttonCopyRect = new Rect(buttonNewRect.xMax, lineRect.y, buttonWidth, lineRect.height);
EditorGUI.PrefixLabel(labelRect, m_ProfileLabel);
using (var scope = new EditorGUI.ChangeCheckScope())
{
m_Profile.objectReferenceValue
= (PostProcessProfile)EditorGUI.ObjectField(
fieldRect, m_Profile.objectReferenceValue, typeof(PostProcessProfile), false);
assetHasChanged = scope.changed;
}
if (GUI.Button(
buttonNewRect,
EditorUtilities.GetContent("New|Create a new profile."),
showCopy ? EditorStyles.miniButtonLeft : EditorStyles.miniButton))
{
// By default, try to put assets in a folder next to the currently active
// scene file. If the user isn't a scene, put them in root instead.
var targetName = Target.name;
var scene = Target.gameObject.scene;
var asset = CreatePostProcessProfile(scene, targetName);
m_Profile.objectReferenceValue = asset;
assetHasChanged = true;
}
if (showCopy && GUI.Button(
buttonCopyRect,
EditorUtilities.GetContent("Clone|Create a new profile and copy the content of the currently assigned profile."),
EditorStyles.miniButtonRight))
{
// Duplicate the currently assigned profile and save it as a new profile
var origin = (PostProcessProfile)m_Profile.objectReferenceValue;
var path = AssetDatabase.GetAssetPath(origin);
path = AssetDatabase.GenerateUniqueAssetPath(path);
var asset = Instantiate(origin);
asset.settings.Clear();
AssetDatabase.CreateAsset(asset, path);
foreach (var item in origin.settings)
{
var itemCopy = Instantiate(item);
itemCopy.hideFlags = HideFlags.HideInInspector | HideFlags.HideInHierarchy;
itemCopy.name = item.name;
asset.settings.Add(itemCopy);
AssetDatabase.AddObjectToAsset(itemCopy, asset);
}
AssetDatabase.SaveAssets();
AssetDatabase.Refresh();
m_Profile.objectReferenceValue = asset;
assetHasChanged = true;
}
if (m_Profile.objectReferenceValue == null)
{
if (assetHasChanged && m_EffectList != null)
m_EffectList.Clear(); // Asset wasn't null before, do some cleanup
EditorGUILayout.HelpBox(
"Assign an existing Post-process Profile by choosing an asset, or create a new one by clicking the \"New\" button.\nNew assets are automatically put in a folder next to your scene file. If your scene hasn't been saved yet they will be created at the root of the Assets folder.",
MessageType.Info);
}
else
{
if (assetHasChanged)
RefreshEffectListEditor((PostProcessProfile)m_Profile.objectReferenceValue);
if (m_EffectList != null)
m_EffectList.OnGUI();
}
}
}
}

12
FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/CinemachinePostProcessingEditor.cs.meta


fileFormatVersion: 2
guid: dec69862942cc9744ade63216979cafd
timeCreated: 1504726346
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

8
FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/Resources.meta


fileFormatVersion: 2
guid: 9624eb95bd1e31744a52461501b39e66
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

282
FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/Resources/PostProcessLayer.png

之前 之后
宽度: 128  |  高度: 128  |  大小: 37 KiB

83
FontainebleauDemo/Assets/CinemachinePostProcessingV2/Editor/Resources/PostProcessLayer.png.meta


fileFormatVersion: 2
guid: d6e27dc5ad82e7c4e8cddded5872eb77
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 5
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

9
FontainebleauDemo/Assets/Demo.meta


fileFormatVersion: 2
guid: 3ded5ab7d851d6845be99bae4a0c9536
folderAsset: yes
timeCreated: 1485797176
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

9
FontainebleauDemo/Assets/Demo/Animation.meta


fileFormatVersion: 2
guid: 7811a7216f6db6c4dab38499989b3414
folderAsset: yes
timeCreated: 1492076209
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

973
FontainebleauDemo/Assets/Demo/Animation/FlybyCameraTimeline.playable


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 337831424, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: FlybyCameraTimeline
m_EditorClassIdentifier:
m_Id: 0
m_NextId: 23
m_Tracks:
- {fileID: 114231154840391540}
- {fileID: 114318229831955200}
m_FixedDuration: 0
m_EditorSettings:
fps: 60
m_ExtrapolationMode: 1
m_UpdateMode: 0
m_ParameterName:
m_DurationMode: 0
--- !u!74 &74986397885266624
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Recorded
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: {x: 0, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
- serializedVersion: 2
time: 29.966667
value: {x: 0, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
- serializedVersion: 2
time: 40
value: {x: 0, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path:
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 1
script: {fileID: 0}
typeID: 4
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 95
customType: 8
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 1
script: {fileID: 0}
typeID: 95
customType: 8
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 2
script: {fileID: 0}
typeID: 95
customType: 8
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 40
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 29.966667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.x
path:
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 29.966667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.y
path:
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
- serializedVersion: 2
time: 40
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.z
path:
classID: 4
script: {fileID: 0}
m_EulerEditorCurves: []
m_HasGenericRootTransform: 1
m_HasMotionFloatCurves: 0
m_GenerateMotionCurves: 1
m_Events: []
--- !u!114 &114038685350792352
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot01
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: f9fc0e71ac9dc804e986d887ad6650fb, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114052055686964716
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot05
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 5897c9fd0efbf6c459a2fe6f79d738e3, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114133744399309672
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot06
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 04dd1e0ab2eee254c91fda4c906c34d6, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114231154840391540
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1467732076, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: Animation Track
m_EditorClassIdentifier:
m_Locked: 0
m_Muted: 0
m_Soloed: 0
m_Height: 0
m_InlineAnimationCurveHeight: 100
m_CustomPlayableFullTypename:
m_AnimClip: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_MediaType: 0
m_Clips:
- m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: 114038685350792352}
m_UnderlyingAsset: {fileID: 7400000, guid: f9fc0e71ac9dc804e986d887ad6650fb, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12723
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot01
- m_Start: 4
m_ClipIn: 0
m_Asset: {fileID: 114309900015462226}
m_UnderlyingAsset: {fileID: 7400000, guid: 5649a8640616ea141a2b3b52990d7bdd, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12720
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot02
- m_Start: 8
m_ClipIn: 0
m_Asset: {fileID: 114671302106741202}
m_UnderlyingAsset: {fileID: 7400000, guid: 6539bd84b15dede45a71fdd896170502, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12721
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot03
- m_Start: 12
m_ClipIn: 0
m_Asset: {fileID: 114369289356375412}
m_UnderlyingAsset: {fileID: 7400000, guid: 0af260c8bef2b464480feb5b35157236, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12726
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot04
- m_Start: 16
m_ClipIn: 0
m_Asset: {fileID: 114052055686964716}
m_UnderlyingAsset: {fileID: 7400000, guid: 5897c9fd0efbf6c459a2fe6f79d738e3, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12727
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot05
- m_Start: 20
m_ClipIn: 0
m_Asset: {fileID: 114133744399309672}
m_UnderlyingAsset: {fileID: 7400000, guid: 04dd1e0ab2eee254c91fda4c906c34d6, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12725
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot06
- m_Start: 24
m_ClipIn: 0
m_Asset: {fileID: 114539530896881566}
m_UnderlyingAsset: {fileID: 7400000, guid: 12ae357e33d622b4e9a5db2ff716e3fd, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12714
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot07
- m_Start: 28
m_ClipIn: 0
m_Asset: {fileID: 114829205246610500}
m_UnderlyingAsset: {fileID: 7400000, guid: 8565fd5c3a755024fba1228c9c24cc87, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12715
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot08
- m_Start: 32.00000000000004
m_ClipIn: 0
m_Asset: {fileID: 114685516857365094}
m_UnderlyingAsset: {fileID: 7400000, guid: 0327a81944b7c9447bfaeef19595ebf3, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve: []
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: 12712
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot09
- m_Start: 36.00000000000004
m_ClipIn: 0
m_Asset: {fileID: 114261532173661254}
m_UnderlyingAsset: {fileID: 7400000, guid: b6f37cf0caf797744a4466e7f99a2129, type: 2}
m_Duration: 4
m_TimeScale: 1
m_ParentTrack: {fileID: 114231154840391540}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: -1
m_BlendOutDuration: -1
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 2
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
- serializedVersion: 2
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_ID: -1639650437
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: Infinity
m_PreExtrapolationTime: 0
m_DisplayName: CameraShot10_02
m_OpenClipPreExtrapolation: 0
m_OpenClipPostExtrapolation: 0
m_OpenClipOffsetPosition: {x: 0, y: 0, z: 0}
m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1}
m_OpenClipTimeOffset: 0
m_MatchTargetFields: 63
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_ApplyOffsets: 0
--- !u!114 &114261532173661254
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot10_02
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: b6f37cf0caf797744a4466e7f99a2129, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114309900015462226
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot02
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 5649a8640616ea141a2b3b52990d7bdd, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114318229831955200
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1467732076, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: Animation Track1
m_EditorClassIdentifier:
m_Locked: 0
m_Muted: 0
m_Soloed: 0
m_Height: 0
m_InlineAnimationCurveHeight: 100
m_CustomPlayableFullTypename:
m_AnimClip: {fileID: 74986397885266624}
m_Parent: {fileID: 11400000}
m_Children: []
m_MediaType: 0
m_Clips: []
m_OpenClipPreExtrapolation: 1
m_OpenClipPostExtrapolation: 1
m_OpenClipOffsetPosition: {x: 0, y: 0, z: 0}
m_OpenClipOffsetRotation: {x: 0, y: 0, z: 0, w: 1}
m_OpenClipTimeOffset: 0
m_MatchTargetFields: 63
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_ApplyOffsets: 0
--- !u!114 &114369289356375412
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot04
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 0af260c8bef2b464480feb5b35157236, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114539530896881566
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot07
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 12ae357e33d622b4e9a5db2ff716e3fd, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114671302106741202
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot03
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 6539bd84b15dede45a71fdd896170502, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114685516857365094
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot09
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 0327a81944b7c9447bfaeef19595ebf3, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63
--- !u!114 &114829205246610500
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 2024714994, guid: 6a10b2909283487f913b00d94cd3faf5, type: 3}
m_Name: AnimationPlayableAsset of CameraShot08
m_EditorClassIdentifier:
m_Clip: {fileID: 7400000, guid: 8565fd5c3a755024fba1228c9c24cc87, type: 2}
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
m_UseTrackMatchFields: 0
m_MatchTargetFields: 63

9
FontainebleauDemo/Assets/Demo/Animation/FlybyCameraTimeline.playable.meta


fileFormatVersion: 2
guid: 9f0cdeb4269046f4488577d6b99a421f
timeCreated: 1492076785
licenseType: Pro
NativeFormatImporter:
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

199
FontainebleauDemo/Assets/Demo/Animation/LoaderAnimation.anim


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: LoaderAnimation
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: 0, y: 0, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 180}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2
value: {x: 0, y: 0, z: 360}
inSlope: {x: -0, y: -0, z: 180}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path:
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 4
script: {fileID: 0}
typeID: 4
customType: 4
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 2
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 65
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0
inSlope: -0
outSlope: 0
tangentMode: 5
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.x
path:
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 65
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0
inSlope: -0
outSlope: 0
tangentMode: 5
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: localEulerAnglesRaw.y
path:
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 180
tangentMode: 65
weightedMode: 0
inWeight: 0.33333334