-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!1102 &-6340936578733135374 | ||
AnimatorState: | ||
serializedVersion: 5 | ||
m_ObjectHideFlags: 1 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: smokeRed | ||
m_Speed: 1 | ||
m_CycleOffset: 0 | ||
m_Transitions: [] | ||
m_StateMachineBehaviours: [] | ||
m_Position: {x: 50, y: 50, z: 0} | ||
m_IKOnFeet: 0 | ||
m_WriteDefaultValues: 1 | ||
m_Mirror: 0 | ||
m_SpeedParameterActive: 0 | ||
m_MirrorParameterActive: 0 | ||
m_CycleOffsetParameterActive: 0 | ||
m_TimeParameterActive: 0 | ||
m_Motion: {fileID: 7400000, guid: 79b03a46dc91242b9be457b8d652ba71, type: 2} | ||
m_Tag: | ||
m_SpeedParameter: | ||
m_MirrorParameter: | ||
m_CycleOffsetParameter: | ||
m_TimeParameter: | ||
--- !u!91 &9100000 | ||
AnimatorController: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: smokeOrange0 | ||
serializedVersion: 5 | ||
m_AnimatorParameters: [] | ||
m_AnimatorLayers: | ||
- serializedVersion: 5 | ||
m_Name: Base Layer | ||
m_StateMachine: {fileID: 3621353277997196851} | ||
m_Mask: {fileID: 0} | ||
m_Motions: [] | ||
m_Behaviours: [] | ||
m_BlendingMode: 0 | ||
m_SyncedLayerIndex: -1 | ||
m_DefaultWeight: 0 | ||
m_IKPass: 0 | ||
m_SyncedLayerAffectsTiming: 0 | ||
m_Controller: {fileID: 9100000} | ||
--- !u!1107 &3621353277997196851 | ||
AnimatorStateMachine: | ||
serializedVersion: 5 | ||
m_ObjectHideFlags: 1 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: Base Layer | ||
m_ChildStates: | ||
- serializedVersion: 1 | ||
m_State: {fileID: -6340936578733135374} | ||
m_Position: {x: 320, y: 0, z: 0} | ||
m_ChildStateMachines: [] | ||
m_AnyStateTransitions: [] | ||
m_EntryTransitions: [] | ||
m_StateMachineTransitions: {} | ||
m_StateMachineBehaviours: [] | ||
m_AnyStatePosition: {x: 50, y: 20, z: 0} | ||
m_EntryPosition: {x: 50, y: 120, z: 0} | ||
m_ExitPosition: {x: 490, y: 90, z: 0} | ||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} | ||
m_DefaultState: {fileID: -6340936578733135374} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!74 &7400000 | ||
AnimationClip: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: smokeRed | ||
serializedVersion: 6 | ||
m_Legacy: 0 | ||
m_Compressed: 0 | ||
m_UseHighQualityCurve: 1 | ||
m_RotationCurves: [] | ||
m_CompressedRotationCurves: [] | ||
m_EulerCurves: [] | ||
m_PositionCurves: [] | ||
m_ScaleCurves: [] | ||
m_FloatCurves: [] | ||
m_PPtrCurves: | ||
- curve: | ||
- time: 0 | ||
value: {fileID: 21300000, guid: c4467026fa0904eaaa5ee85f9476e7e0, type: 3} | ||
- time: 0.125 | ||
value: {fileID: 21300000, guid: 40949bacb23bb481bb9283b3752ef433, type: 3} | ||
- time: 0.25 | ||
value: {fileID: 21300000, guid: 0c16279186fe549c199f1bd61b878a7f, type: 3} | ||
- time: 0.375 | ||
value: {fileID: 21300000, guid: 6cdf5a75d79d64a9bbad3733e2b28a97, type: 3} | ||
- time: 0.5 | ||
value: {fileID: 21300000, guid: 2acc277c177a14de68489266444628c9, type: 3} | ||
- time: 0.625 | ||
value: {fileID: 21300000, guid: e55c0aa17d007408fae0f1e0b60fff06, type: 3} | ||
attribute: m_Sprite | ||
path: | ||
classID: 212 | ||
script: {fileID: 0} | ||
m_SampleRate: 8 | ||
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: 0 | ||
script: {fileID: 0} | ||
typeID: 212 | ||
customType: 23 | ||
isPPtrCurve: 1 | ||
pptrCurveMapping: | ||
- {fileID: 21300000, guid: c4467026fa0904eaaa5ee85f9476e7e0, type: 3} | ||
- {fileID: 21300000, guid: 40949bacb23bb481bb9283b3752ef433, type: 3} | ||
- {fileID: 21300000, guid: 0c16279186fe549c199f1bd61b878a7f, type: 3} | ||
- {fileID: 21300000, guid: 6cdf5a75d79d64a9bbad3733e2b28a97, type: 3} | ||
- {fileID: 21300000, guid: 2acc277c177a14de68489266444628c9, type: 3} | ||
- {fileID: 21300000, guid: e55c0aa17d007408fae0f1e0b60fff06, type: 3} | ||
m_AnimationClipSettings: | ||
serializedVersion: 2 | ||
m_AdditiveReferencePoseClip: {fileID: 0} | ||
m_AdditiveReferencePoseTime: 0 | ||
m_StartTime: 0 | ||
m_StopTime: 0.75 | ||
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: [] | ||
m_EulerEditorCurves: [] | ||
m_HasGenericRootTransform: 0 | ||
m_HasMotionFloatCurves: 0 | ||
m_Events: [] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace EckTechGames | ||
{ | ||
[InitializeOnLoad] | ||
public class AutoSaveExtension | ||
{ | ||
// Static constructor that gets called when unity fires up. | ||
static AutoSaveExtension() | ||
{ | ||
EditorApplication.playmodeStateChanged += AutoSaveWhenPlaymodeStarts; | ||
} | ||
|
||
private static void AutoSaveWhenPlaymodeStarts() | ||
{ | ||
// If we're about to run the scene... | ||
if (EditorApplication.isPlayingOrWillChangePlaymode && !EditorApplication.isPlaying) | ||
{ | ||
// Save the scene and the assets. | ||
EditorApplication.SaveScene(); | ||
AssetDatabase.SaveAssets(); | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
EckTech Games - Auto Save Editor Extension | ||
Thank you for downloading Auto Save! | ||
|
||
Send questions, comments, and thanks to: | ||
ecktechgames@gmail.com | ||
|
||
Version 1.0 | ||
|
||
|
||
|
||
Instructions | ||
------------ | ||
Once you import the AutoSave package into your project... | ||
You're done! Wow that was easy. | ||
|
||
Now whenever you run your scene to test it out, it should automatically save your work. | ||
|
||
|
||
|
||
Disclaimer | ||
---------- | ||
I've been using this for a while and so far I haven't lost any work. Hopefully you won't either. | ||
However, there are still cases where Unity can crash before (or while) my Auto Save logic is running | ||
resulting in you losing work. Sad day... :( But I'm not responsible. This asset is free so don't | ||
be a jerk and tell me I owe you money. I don't. :) Instead, I recommend you take a look at the | ||
recovery links below. You still might be able to get your lost work back! | ||
|
||
|
||
|
||
Useful Recovery Links | ||
--------------------- | ||
http://answers.unity3d.com/questions/249671/unity-crashed-entire-scene-lost.html | ||
http://answers.unity3d.com/questions/13920/editor-crash-where-is-scene-data-kept.html | ||
http://windows.microsoft.com/en-us/windows-8/how-use-file-history | ||
|
||
|
||
|
||
If you need any help or have an idea for a new feature, don't hesitate to email me: | ||
ecktechgames@gmail.com | ||
|
||
The asset is available at: | ||
https://www.assetstore.unity3d.com/#!/content/43605 | ||
|
||
EckTech Games Publisher Page | ||
https://www.assetstore.unity3d.com/en/#!/publisher/15162 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.