You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
458 lines
12 KiB
458 lines
12 KiB
%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: 7 |
|
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} |
|
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} |
|
--- !u!157 &3 |
|
LightmapSettings: |
|
m_ObjectHideFlags: 0 |
|
serializedVersion: 7 |
|
m_GIWorkflowMode: 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: 4 |
|
m_Resolution: 2 |
|
m_BakeResolution: 40 |
|
m_TextureWidth: 1024 |
|
m_TextureHeight: 1024 |
|
m_AO: 0 |
|
m_AOMaxDistance: 1 |
|
m_CompAOExponent: 0 |
|
m_CompAOExponentDirect: 0 |
|
m_Padding: 2 |
|
m_LightmapParameters: {fileID: 0} |
|
m_LightmapsBakeMode: 1 |
|
m_TextureCompression: 1 |
|
m_DirectLightInLightProbes: 1 |
|
m_FinalGather: 0 |
|
m_FinalGatherFiltering: 1 |
|
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 &431938873 |
|
GameObject: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 179118, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
serializedVersion: 4 |
|
m_Component: |
|
- 4: {fileID: 431938879} |
|
- 114: {fileID: 431938878} |
|
- 114: {fileID: 431938877} |
|
- 114: {fileID: 431938876} |
|
- 114: {fileID: 431938875} |
|
- 114: {fileID: 431938874} |
|
m_Layer: 0 |
|
m_Name: Lua |
|
m_TagString: Untagged |
|
m_Icon: {fileID: 0} |
|
m_NavMeshLayer: 0 |
|
m_StaticEditorFlags: 0 |
|
m_IsActive: 1 |
|
--- !u!114 &431938874 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 11437776, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, |
|
type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 431938873} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: c10f0b861365b42b0928858f7b086ff3, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
fungusModule: 0 |
|
activeLanguage: en |
|
stringTables: [] |
|
registerTypes: |
|
- {fileID: 4900000, guid: 9c3ab7a98d51241bbb499643399fa761, type: 3} |
|
- {fileID: 4900000, guid: 93fddea8208764a2dbb189cc238aed40, type: 3} |
|
--- !u!114 &431938875 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 11483650, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, |
|
type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 431938873} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: ba19c26c1ba7243d2b57ebc4329cc7c6, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
remoteDebugger: 0 |
|
--- !u!114 &431938876 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 11499092, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, |
|
type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 431938873} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: 4cc8a659e950044b69d7c62696c36962, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
allEnvironments: 0 |
|
luaEnvironment: {fileID: 431938875} |
|
tableName: |
|
registerTypes: 1 |
|
boundTypes: [] |
|
boundObjects: |
|
- key: |
|
obj: {fileID: 0} |
|
component: {fileID: 0} |
|
showInherited: 0 |
|
--- !u!114 &431938877 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 11417560, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, |
|
type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 431938873} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: 446caeace65234baaacd52095d24f101, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
luaEnvironment: {fileID: 431938875} |
|
luaFile: {fileID: 0} |
|
luaScript: "-- Print \"hello world\" to the console\nprint(\"Hello world\")\n\n-- |
|
Display \"hello world\" using a \n-- Fungus SayDialog\nsay(\"Hello world\")" |
|
runAsCoroutine: 1 |
|
--- !u!114 &431938878 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 11415008, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, |
|
type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 431938873} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: 6ee79785811ba49399c1b56d7309e3df, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
executeAfterTime: 1 |
|
repeatExecuteTime: 1 |
|
repeatEveryTime: 1 |
|
executeAfterFrames: 1 |
|
repeatExecuteFrame: 1 |
|
repeatEveryFrame: 1 |
|
executeMethods: 2 |
|
executeMethodName: OnExecute |
|
--- !u!4 &431938879 |
|
Transform: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 466848, guid: 3ddf9f33ba98e4b31ba4d2b9722bea00, type: 2} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 431938873} |
|
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
m_Children: [] |
|
m_Father: {fileID: 0} |
|
m_RootOrder: 1 |
|
--- !u!1 &500692570 |
|
GameObject: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
serializedVersion: 4 |
|
m_Component: |
|
- 4: {fileID: 500692573} |
|
- 114: {fileID: 500692572} |
|
- 114: {fileID: 500692571} |
|
m_Layer: 0 |
|
m_Name: EventSystem |
|
m_TagString: Untagged |
|
m_Icon: {fileID: 0} |
|
m_NavMeshLayer: 0 |
|
m_StaticEditorFlags: 0 |
|
m_IsActive: 1 |
|
--- !u!114 &500692571 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 500692570} |
|
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 &500692572 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 500692570} |
|
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 &500692573 |
|
Transform: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 500692570} |
|
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
m_Children: [] |
|
m_Father: {fileID: 0} |
|
m_RootOrder: 4 |
|
--- !u!1 &1094179358 |
|
GameObject: |
|
m_ObjectHideFlags: 1 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
serializedVersion: 4 |
|
m_Component: |
|
- 4: {fileID: 1094179360} |
|
- 114: {fileID: 1094179359} |
|
m_Layer: 0 |
|
m_Name: _FungusState |
|
m_TagString: Untagged |
|
m_Icon: {fileID: 0} |
|
m_NavMeshLayer: 0 |
|
m_StaticEditorFlags: 0 |
|
m_IsActive: 1 |
|
--- !u!114 &1094179359 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 1 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1094179358} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
selectedFlowchart: {fileID: 0} |
|
--- !u!4 &1094179360 |
|
Transform: |
|
m_ObjectHideFlags: 1 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1094179358} |
|
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
m_Children: [] |
|
m_Father: {fileID: 0} |
|
m_RootOrder: 3 |
|
--- !u!1 &1314575962 |
|
GameObject: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
serializedVersion: 4 |
|
m_Component: |
|
- 4: {fileID: 1314575964} |
|
- 114: {fileID: 1314575963} |
|
m_Layer: 0 |
|
m_Name: InfoText |
|
m_TagString: Untagged |
|
m_Icon: {fileID: 0} |
|
m_NavMeshLayer: 0 |
|
m_StaticEditorFlags: 0 |
|
m_IsActive: 1 |
|
--- !u!114 &1314575963 |
|
MonoBehaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1314575962} |
|
m_Enabled: 1 |
|
m_EditorHideFlags: 0 |
|
m_Script: {fileID: 11500000, guid: 8c0cbb63e218a4414a796a60ffe37dd3, type: 3} |
|
m_Name: |
|
m_EditorClassIdentifier: |
|
info: 'A simple example of using a Lua object to display "Hello World" by printing |
|
to the console and also by using the say() function. |
|
|
|
|
|
Create a Lua object via Tools > Fungus > Create > Lua |
|
|
|
|
|
The Lua object provides a self-contained Lua environment and script execution |
|
in one, which is great for simple one-off scripts. |
|
|
|
|
|
You can use the LuaEnvironment, LuaScript and LuaBindings objects to handle more |
|
complex scenarios - e.g. 2 LuaScript objects which share a LuaEnvironment.' |
|
--- !u!4 &1314575964 |
|
Transform: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1314575962} |
|
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
m_Children: [] |
|
m_Father: {fileID: 0} |
|
m_RootOrder: 2 |
|
--- !u!1 &1524657877 |
|
GameObject: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
serializedVersion: 4 |
|
m_Component: |
|
- 4: {fileID: 1524657882} |
|
- 20: {fileID: 1524657881} |
|
- 92: {fileID: 1524657880} |
|
- 124: {fileID: 1524657879} |
|
- 81: {fileID: 1524657878} |
|
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 &1524657878 |
|
AudioListener: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1524657877} |
|
m_Enabled: 1 |
|
--- !u!124 &1524657879 |
|
Behaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1524657877} |
|
m_Enabled: 1 |
|
--- !u!92 &1524657880 |
|
Behaviour: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1524657877} |
|
m_Enabled: 1 |
|
--- !u!20 &1524657881 |
|
Camera: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1524657877} |
|
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 &1524657882 |
|
Transform: |
|
m_ObjectHideFlags: 0 |
|
m_PrefabParentObject: {fileID: 0} |
|
m_PrefabInternal: {fileID: 0} |
|
m_GameObject: {fileID: 1524657877} |
|
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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|
m_Children: [] |
|
m_Father: {fileID: 0} |
|
m_RootOrder: 0
|
|
|