chrisgregan
9 years ago
11 changed files with 1119 additions and 23 deletions
@ -0,0 +1,53 @@
|
||||
using UnityEngine; |
||||
using System; |
||||
using System.Collections; |
||||
|
||||
namespace Fungus |
||||
{ |
||||
[CommandInfo("Animation", |
||||
"Play Anim State", |
||||
"Plays a state of an animator according to the state name")] |
||||
[AddComponentMenu("")] |
||||
public class PlayAnimState : Command |
||||
{ |
||||
[Tooltip("Reference to an Animator component in a game object")] |
||||
public AnimatorData animator = new AnimatorData(); |
||||
|
||||
[Tooltip("Name of the state you want to play")] |
||||
public StringData stateName = new StringData(); |
||||
|
||||
[Tooltip("Layer to play animation on")] |
||||
public IntegerData layer = new IntegerData(-1); |
||||
|
||||
[Tooltip("Start time of animation")] |
||||
public FloatData time = new FloatData(0f); |
||||
|
||||
public override void OnEnter() |
||||
{ |
||||
if (animator.Value != null) |
||||
{ |
||||
animator.Value.Play(stateName.Value, layer.Value, time.Value); |
||||
} |
||||
|
||||
Continue(); |
||||
} |
||||
|
||||
public override string GetSummary() |
||||
{ |
||||
if (animator.Value == null) |
||||
{ |
||||
return "Error: No animator selected"; |
||||
} |
||||
|
||||
return animator.Value.name + " (" + stateName.Value + ")"; |
||||
} |
||||
|
||||
public override Color GetButtonColor() |
||||
{ |
||||
return new Color32(170, 204, 169, 255); |
||||
} |
||||
} |
||||
|
||||
} |
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 5316d953c7abe498799575550c973535 |
||||
timeCreated: 1458814204 |
||||
licenseType: Free |
||||
MonoImporter: |
||||
serializedVersion: 2 |
||||
defaultReferences: [] |
||||
executionOrder: 0 |
||||
icon: {instanceID: 0} |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 281dd8265cd4c4d00b1c5ad04f2e6b5a |
||||
folderAsset: yes |
||||
timeCreated: 1458814154 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,156 @@
|
||||
%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: TestAnim |
||||
serializedVersion: 6 |
||||
m_Legacy: 0 |
||||
m_Compressed: 0 |
||||
m_UseHighQualityCurve: 1 |
||||
m_RotationCurves: [] |
||||
m_CompressedRotationCurves: [] |
||||
m_EulerCurves: [] |
||||
m_PositionCurves: |
||||
- curve: |
||||
serializedVersion: 2 |
||||
m_Curve: |
||||
- 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 |
||||
- time: 1.0166667 |
||||
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: |
||||
- curve: |
||||
- time: 0 |
||||
value: {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} |
||||
- time: 0.5 |
||||
value: {fileID: 21300000, guid: e8a9122c4dc10b14da3b625e1f2634c9, type: 3} |
||||
- time: 1 |
||||
value: {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} |
||||
attribute: m_Sprite |
||||
path: |
||||
classID: 212 |
||||
script: {fileID: 0} |
||||
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: |
||||
- path: 0 |
||||
attribute: 0 |
||||
script: {fileID: 0} |
||||
classID: 212 |
||||
customType: 23 |
||||
isPPtrCurve: 1 |
||||
- path: 0 |
||||
attribute: 1 |
||||
script: {fileID: 0} |
||||
classID: 4 |
||||
customType: 0 |
||||
isPPtrCurve: 0 |
||||
pptrCurveMapping: |
||||
- {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} |
||||
- {fileID: 21300000, guid: e8a9122c4dc10b14da3b625e1f2634c9, type: 3} |
||||
- {fileID: 21300000, guid: 061fcd6caac25954287291fffde7cd2c, type: 3} |
||||
m_AnimationClipSettings: |
||||
serializedVersion: 2 |
||||
m_AdditiveReferencePoseClip: {fileID: 0} |
||||
m_AdditiveReferencePoseTime: 0 |
||||
m_StartTime: 0 |
||||
m_StopTime: 1.0166667 |
||||
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: |
||||
- time: 0 |
||||
value: 0 |
||||
inSlope: 0 |
||||
outSlope: 0 |
||||
tangentMode: 10 |
||||
- time: 1.0166667 |
||||
value: 0 |
||||
inSlope: 0 |
||||
outSlope: 0 |
||||
tangentMode: 10 |
||||
m_PreInfinity: 2 |
||||
m_PostInfinity: 2 |
||||
m_RotationOrder: 4 |
||||
attribute: m_LocalPosition.x |
||||
path: |
||||
classID: 4 |
||||
script: {fileID: 0} |
||||
- curve: |
||||
serializedVersion: 2 |
||||
m_Curve: |
||||
- time: 0 |
||||
value: 0 |
||||
inSlope: 0 |
||||
outSlope: 0 |
||||
tangentMode: 10 |
||||
- time: 1.0166667 |
||||
value: 0 |
||||
inSlope: 0 |
||||
outSlope: 0 |
||||
tangentMode: 10 |
||||
m_PreInfinity: 2 |
||||
m_PostInfinity: 2 |
||||
m_RotationOrder: 4 |
||||
attribute: m_LocalPosition.y |
||||
path: |
||||
classID: 4 |
||||
script: {fileID: 0} |
||||
- curve: |
||||
serializedVersion: 2 |
||||
m_Curve: |
||||
- time: 0 |
||||
value: 0 |
||||
inSlope: 0 |
||||
outSlope: 0 |
||||
tangentMode: 10 |
||||
- time: 1.0166667 |
||||
value: 0 |
||||
inSlope: 0 |
||||
outSlope: 0 |
||||
tangentMode: 10 |
||||
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: 0 |
||||
m_Events: [] |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 71ad6041b64134ddd9bd0fea66fe8cdd |
||||
timeCreated: 1458814871 |
||||
licenseType: Free |
||||
NativeFormatImporter: |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,651 @@
|
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!29 &1 |
||||
SceneSettings: |
||||
m_ObjectHideFlags: 0 |
||||
m_PVSData: |
||||
m_PVSObjectsArray: [] |
||||
m_PVSPortalsArray: [] |
||||
m_OcclusionBakeSettings: |
||||
smallestOccluder: 5 |
||||
smallestHole: 0.25 |
||||
backfaceThreshold: 100 |
||||
--- !u!104 &2 |
||||
RenderSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 6 |
||||
m_Fog: 0 |
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} |
||||
m_FogMode: 3 |
||||
m_FogDensity: 0.01 |
||||
m_LinearFogStart: 0 |
||||
m_LinearFogEnd: 300 |
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} |
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} |
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} |
||||
m_AmbientIntensity: 1 |
||||
m_AmbientMode: 3 |
||||
m_SkyboxMaterial: {fileID: 0} |
||||
m_HaloStrength: 0.5 |
||||
m_FlareStrength: 1 |
||||
m_FlareFadeSpeed: 3 |
||||
m_HaloTexture: {fileID: 0} |
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_DefaultReflectionMode: 0 |
||||
m_DefaultReflectionResolution: 128 |
||||
m_ReflectionBounces: 1 |
||||
m_ReflectionIntensity: 1 |
||||
m_CustomReflection: {fileID: 0} |
||||
m_Sun: {fileID: 0} |
||||
--- !u!157 &3 |
||||
LightmapSettings: |
||||
m_ObjectHideFlags: 0 |
||||
serializedVersion: 6 |
||||
m_GIWorkflowMode: 1 |
||||
m_LightmapsMode: 1 |
||||
m_GISettings: |
||||
serializedVersion: 2 |
||||
m_BounceScale: 1 |
||||
m_IndirectOutputScale: 1 |
||||
m_AlbedoBoost: 1 |
||||
m_TemporalCoherenceThreshold: 1 |
||||
m_EnvironmentLightingMode: 0 |
||||
m_EnableBakedLightmaps: 0 |
||||
m_EnableRealtimeLightmaps: 0 |
||||
m_LightmapEditorSettings: |
||||
serializedVersion: 3 |
||||
m_Resolution: 2 |
||||
m_BakeResolution: 40 |
||||
m_TextureWidth: 1024 |
||||
m_TextureHeight: 1024 |
||||
m_AOMaxDistance: 1 |
||||
m_Padding: 2 |
||||
m_CompAOExponent: 0 |
||||
m_LightmapParameters: {fileID: 0} |
||||
m_TextureCompression: 1 |
||||
m_FinalGather: 0 |
||||
m_FinalGatherRayCount: 1024 |
||||
m_ReflectionCompression: 2 |
||||
m_LightingDataAsset: {fileID: 0} |
||||
m_RuntimeCPUUsage: 25 |
||||
--- !u!196 &4 |
||||
NavMeshSettings: |
||||
serializedVersion: 2 |
||||
m_ObjectHideFlags: 0 |
||||
m_BuildSettings: |
||||
serializedVersion: 2 |
||||
agentRadius: 0.5 |
||||
agentHeight: 2 |
||||
agentSlope: 45 |
||||
agentClimb: 0.4 |
||||
ledgeDropHeight: 0 |
||||
maxJumpAcrossDistance: 0 |
||||
accuratePlacement: 0 |
||||
minRegionArea: 2 |
||||
cellSize: 0.16666667 |
||||
manualCellSize: 0 |
||||
m_NavMeshData: {fileID: 0} |
||||
--- !u!1 &210820125 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 210820127} |
||||
- 114: {fileID: 210820126} |
||||
m_Layer: 0 |
||||
m_Name: SetAnimState |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &210820126 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 210820125} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: b1dba0b27b0864740a8720e920aa88c0, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
timeout: 5 |
||||
ignored: 0 |
||||
succeedAfterAllAssertionsAreExecuted: 1 |
||||
expectException: 0 |
||||
expectedExceptionList: |
||||
succeedWhenExceptionIsThrown: 0 |
||||
includedPlatforms: -1 |
||||
platformsToIgnore: [] |
||||
dynamic: 0 |
||||
dynamicTypeName: |
||||
--- !u!4 &210820127 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 210820125} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: |
||||
- {fileID: 939358113} |
||||
- {fileID: 1084693937} |
||||
- {fileID: 1059350813} |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 3 |
||||
--- !u!1 &279130206 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 279130211} |
||||
- 20: {fileID: 279130210} |
||||
- 92: {fileID: 279130209} |
||||
- 124: {fileID: 279130208} |
||||
- 81: {fileID: 279130207} |
||||
m_Layer: 0 |
||||
m_Name: Main Camera |
||||
m_TagString: MainCamera |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!81 &279130207 |
||||
AudioListener: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 279130206} |
||||
m_Enabled: 1 |
||||
--- !u!124 &279130208 |
||||
Behaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 279130206} |
||||
m_Enabled: 1 |
||||
--- !u!92 &279130209 |
||||
Behaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 279130206} |
||||
m_Enabled: 1 |
||||
--- !u!20 &279130210 |
||||
Camera: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 279130206} |
||||
m_Enabled: 1 |
||||
serializedVersion: 2 |
||||
m_ClearFlags: 1 |
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844} |
||||
m_NormalizedViewPortRect: |
||||
serializedVersion: 2 |
||||
x: 0 |
||||
y: 0 |
||||
width: 1 |
||||
height: 1 |
||||
near clip plane: 0.3 |
||||
far clip plane: 1000 |
||||
field of view: 60 |
||||
orthographic: 1 |
||||
orthographic size: 5 |
||||
m_Depth: -1 |
||||
m_CullingMask: |
||||
serializedVersion: 2 |
||||
m_Bits: 4294967295 |
||||
m_RenderingPath: -1 |
||||
m_TargetTexture: {fileID: 0} |
||||
m_TargetDisplay: 0 |
||||
m_TargetEye: 3 |
||||
m_HDR: 0 |
||||
m_OcclusionCulling: 1 |
||||
m_StereoConvergence: 10 |
||||
m_StereoSeparation: 0.022 |
||||
m_StereoMirrorMode: 0 |
||||
--- !u!4 &279130211 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 279130206} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: -10} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 0 |
||||
--- !u!1 &439074421 |
||||
GameObject: |
||||
m_ObjectHideFlags: 1 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 439074423} |
||||
- 114: {fileID: 439074422} |
||||
m_Layer: 0 |
||||
m_Name: _FungusState |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &439074422 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 1 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 439074421} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
selectedFlowchart: {fileID: 939358109} |
||||
--- !u!4 &439074423 |
||||
Transform: |
||||
m_ObjectHideFlags: 1 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 439074421} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 2 |
||||
--- !u!114 &685110726 |
||||
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: 11500000, guid: 2586c8e41f35d2f4fadde53020bf4207, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
go: {fileID: 1084693934} |
||||
thisPropertyPath: SpriteRenderer.isVisible |
||||
compareToType: 1 |
||||
other: {fileID: 0} |
||||
otherPropertyPath: |
||||
constantValueGeneric: 1 |
||||
--- !u!1 &939358108 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 142980, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 939358113} |
||||
- 114: {fileID: 939358109} |
||||
- 114: {fileID: 939358111} |
||||
- 114: {fileID: 939358112} |
||||
- 114: {fileID: 939358110} |
||||
m_Layer: 0 |
||||
m_Name: Flowchart |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &939358109 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 11430050, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, |
||||
type: 2} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 939358108} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
version: 1 |
||||
scrollPos: {x: 0, y: 0} |
||||
variablesScrollPos: {x: 0, y: 0} |
||||
variablesExpanded: 1 |
||||
blockViewHeight: 400 |
||||
zoom: 1 |
||||
scrollViewRect: |
||||
serializedVersion: 2 |
||||
x: -343 |
||||
y: -340 |
||||
width: 1114 |
||||
height: 859 |
||||
selectedBlock: {fileID: 939358111} |
||||
selectedCommands: [] |
||||
variables: [] |
||||
description: 'Tests is the PlayAnimState command |
||||
|
||||
starts playing a spite animation.' |
||||
stepPause: 0 |
||||
colorCommands: 1 |
||||
hideComponents: 1 |
||||
saveSelection: 1 |
||||
localizationId: |
||||
hideCommands: [] |
||||
--- !u!114 &939358110 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 2 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 939358108} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: 5316d953c7abe498799575550c973535, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
itemId: 1 |
||||
errorMessage: |
||||
indentLevel: 0 |
||||
animator: |
||||
animatorRef: {fileID: 0} |
||||
animatorVal: {fileID: 1084693935} |
||||
stateName: |
||||
stringRef: {fileID: 0} |
||||
stringVal: TestAnim |
||||
layer: |
||||
integerRef: {fileID: 0} |
||||
integerVal: -1 |
||||
time: |
||||
floatRef: {fileID: 0} |
||||
floatVal: 0 |
||||
--- !u!114 &939358111 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 2 |
||||
m_PrefabParentObject: {fileID: 11433304, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, |
||||
type: 2} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 939358108} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
nodeRect: |
||||
serializedVersion: 2 |
||||
x: 68 |
||||
y: 72 |
||||
width: 120 |
||||
height: 40 |
||||
itemId: 0 |
||||
blockName: Start |
||||
description: |
||||
eventHandler: {fileID: 939358112} |
||||
commandList: |
||||
- {fileID: 939358110} |
||||
--- !u!114 &939358112 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 2 |
||||
m_PrefabParentObject: {fileID: 11462346, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, |
||||
type: 2} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 939358108} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
parentBlock: {fileID: 939358111} |
||||
--- !u!4 &939358113 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 467082, guid: 5e7fbc8d4eb714b279eeeef2262c1e1a, type: 2} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 939358108} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 210820127} |
||||
m_RootOrder: 0 |
||||
--- !u!1 &983246927 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 983246929} |
||||
- 114: {fileID: 983246928} |
||||
m_Layer: 0 |
||||
m_Name: TestRunner |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &983246928 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 983246927} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: 5c3afc1c624179749bcdecf7b0224902, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
currentTest: {fileID: 0} |
||||
--- !u!4 &983246929 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 983246927} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 4 |
||||
--- !u!1 &1059350812 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 1059350813} |
||||
- 114: {fileID: 1059350814} |
||||
m_Layer: 0 |
||||
m_Name: TestAssertions |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!4 &1059350813 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1059350812} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 210820127} |
||||
m_RootOrder: 2 |
||||
--- !u!114 &1059350814 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1059350812} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 11500000, guid: 8bafa54482a87ac4cbd7ff1bfd1ac93a, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
checkAfterTime: 1 |
||||
repeatCheckTime: 0 |
||||
repeatEveryTime: 1 |
||||
checkAfterFrames: 1 |
||||
repeatCheckFrame: 1 |
||||
repeatEveryFrame: 1 |
||||
hasFailed: 0 |
||||
checkMethods: 1 |
||||
m_ActionBase: {fileID: 685110726} |
||||
checksPerformed: 0 |
||||
--- !u!1 &1084693934 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 1084693937} |
||||
- 212: {fileID: 1084693936} |
||||
- 95: {fileID: 1084693935} |
||||
m_Layer: 0 |
||||
m_Name: TestSprite |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!95 &1084693935 |
||||
Animator: |
||||
serializedVersion: 3 |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1084693934} |
||||
m_Enabled: 1 |
||||
m_Avatar: {fileID: 0} |
||||
m_Controller: {fileID: 9100000, guid: 13bbf420106ba4d9ab18040bdb3b0092, type: 2} |
||||
m_CullingMode: 0 |
||||
m_UpdateMode: 0 |
||||
m_ApplyRootMotion: 0 |
||||
m_LinearVelocityBlending: 0 |
||||
m_WarningMessage: |
||||
m_HasTransformHierarchy: 1 |
||||
m_AllowConstantClipSamplingOptimization: 1 |
||||
--- !u!212 &1084693936 |
||||
SpriteRenderer: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1084693934} |
||||
m_Enabled: 1 |
||||
m_CastShadows: 0 |
||||
m_ReceiveShadows: 0 |
||||
m_Materials: |
||||
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0} |
||||
m_SubsetIndices: |
||||
m_StaticBatchRoot: {fileID: 0} |
||||
m_UseLightProbes: 0 |
||||
m_ReflectionProbeUsage: 0 |
||||
m_ProbeAnchor: {fileID: 0} |
||||
m_ScaleInLightmap: 1 |
||||
m_PreserveUVs: 0 |
||||
m_IgnoreNormalsForChartDetection: 0 |
||||
m_ImportantGI: 0 |
||||
m_MinimumChartSize: 4 |
||||
m_AutoUVMaxDistance: 0.5 |
||||
m_AutoUVMaxAngle: 89 |
||||
m_LightmapParameters: {fileID: 0} |
||||
m_SortingLayerID: 0 |
||||
m_SortingOrder: 0 |
||||
m_Sprite: {fileID: 0} |
||||
m_Color: {r: 1, g: 1, b: 1, a: 1} |
||||
m_FlipX: 0 |
||||
m_FlipY: 0 |
||||
--- !u!4 &1084693937 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1084693934} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 20, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 210820127} |
||||
m_RootOrder: 1 |
||||
--- !u!1 &1769845622 |
||||
GameObject: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
serializedVersion: 4 |
||||
m_Component: |
||||
- 4: {fileID: 1769845626} |
||||
- 114: {fileID: 1769845625} |
||||
- 114: {fileID: 1769845624} |
||||
- 114: {fileID: 1769845623} |
||||
m_Layer: 0 |
||||
m_Name: EventSystem |
||||
m_TagString: Untagged |
||||
m_Icon: {fileID: 0} |
||||
m_NavMeshLayer: 0 |
||||
m_StaticEditorFlags: 0 |
||||
m_IsActive: 1 |
||||
--- !u!114 &1769845623 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1769845622} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_ForceModuleActive: 0 |
||||
--- !u!114 &1769845624 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1769845622} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_HorizontalAxis: Horizontal |
||||
m_VerticalAxis: Vertical |
||||
m_SubmitButton: Submit |
||||
m_CancelButton: Cancel |
||||
m_InputActionsPerSecond: 10 |
||||
m_RepeatDelay: 0.5 |
||||
m_ForceModuleActive: 0 |
||||
--- !u!114 &1769845625 |
||||
MonoBehaviour: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1769845622} |
||||
m_Enabled: 1 |
||||
m_EditorHideFlags: 0 |
||||
m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} |
||||
m_Name: |
||||
m_EditorClassIdentifier: |
||||
m_FirstSelected: {fileID: 0} |
||||
m_sendNavigationEvents: 1 |
||||
m_DragThreshold: 5 |
||||
--- !u!4 &1769845626 |
||||
Transform: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_GameObject: {fileID: 1769845622} |
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
||||
m_LocalPosition: {x: 0, y: 0, z: 0} |
||||
m_LocalScale: {x: 1, y: 1, z: 1} |
||||
m_Children: [] |
||||
m_Father: {fileID: 0} |
||||
m_RootOrder: 1 |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: de67d783b8c634fe4803fc978733b56e |
||||
timeCreated: 1458815203 |
||||
licenseType: Free |
||||
DefaultImporter: |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
@ -0,0 +1,93 @@
|
||||
%YAML 1.1 |
||||
%TAG !u! tag:unity3d.com,2011: |
||||
--- !u!91 &9100000 |
||||
AnimatorController: |
||||
m_ObjectHideFlags: 0 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_Name: TestSprite |
||||
serializedVersion: 5 |
||||
m_AnimatorParameters: [] |
||||
m_AnimatorLayers: |
||||
- serializedVersion: 5 |
||||
m_Name: Base Layer |
||||
m_StateMachine: {fileID: 110793688} |
||||
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!1102 &110244060 |
||||
AnimatorState: |
||||
serializedVersion: 5 |
||||
m_ObjectHideFlags: 1 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_Name: None |
||||
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_Motion: {fileID: 0} |
||||
m_Tag: |
||||
m_SpeedParameter: |
||||
m_MirrorParameter: |
||||
m_CycleOffsetParameter: |
||||
--- !u!1102 &110271524 |
||||
AnimatorState: |
||||
serializedVersion: 5 |
||||
m_ObjectHideFlags: 3 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_Name: TestAnim |
||||
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_Motion: {fileID: 7400000, guid: 71ad6041b64134ddd9bd0fea66fe8cdd, type: 2} |
||||
m_Tag: |
||||
m_SpeedParameter: |
||||
m_MirrorParameter: |
||||
m_CycleOffsetParameter: |
||||
--- !u!1107 &110793688 |
||||
AnimatorStateMachine: |
||||
serializedVersion: 5 |
||||
m_ObjectHideFlags: 1 |
||||
m_PrefabParentObject: {fileID: 0} |
||||
m_PrefabInternal: {fileID: 0} |
||||
m_Name: Base Layer |
||||
m_ChildStates: |
||||
- serializedVersion: 1 |
||||
m_State: {fileID: 110271524} |
||||
m_Position: {x: 336, y: 132, z: 0} |
||||
- serializedVersion: 1 |
||||
m_State: {fileID: 110244060} |
||||
m_Position: {x: 336, y: 60, z: 0} |
||||
m_ChildStateMachines: [] |
||||
m_AnyStateTransitions: [] |
||||
m_EntryTransitions: [] |
||||
m_StateMachineTransitions: {} |
||||
m_StateMachineBehaviours: [] |
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0} |
||||
m_EntryPosition: {x: 48, y: 120, z: 0} |
||||
m_ExitPosition: {x: 800, y: 120, z: 0} |
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} |
||||
m_DefaultState: {fileID: 110244060} |
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2 |
||||
guid: 13bbf420106ba4d9ab18040bdb3b0092 |
||||
timeCreated: 1458815370 |
||||
licenseType: Free |
||||
NativeFormatImporter: |
||||
userData: |
||||
assetBundleName: |
||||
assetBundleVariant: |
Loading…
Reference in new issue