Browse Source

Added Language prefab and menu item #8

master
chrisgregan 10 years ago
parent
commit
de00195865
  1. 6
      Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs
  2. 54
      Assets/Fungus/Narrative/Resources/Language.prefab
  3. 8
      Assets/Fungus/Narrative/Resources/Language.prefab.meta

6
Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs

@ -50,6 +50,12 @@ namespace Fungus
{
FlowchartMenuItems.SpawnPrefab("StagePosition");
}
[MenuItem("Tools/Fungus/Create/Language", false, 57)]
static void CreateLanguage()
{
FlowchartMenuItems.SpawnPrefab("Language");
}
}
}

54
Assets/Fungus/Narrative/Resources/Language.prefab

@ -0,0 +1,54 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &149266
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 4
m_Component:
- 4: {fileID: 480768}
- 114: {fileID: 11488122}
m_Layer: 0
m_Name: Language
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &480768
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 149266}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2.05546069, y: -3.16485739, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
--- !u!114 &11488122
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 149266}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e5724422a635e425bae0af9ffe2615d6, type: 3}
m_Name:
m_EditorClassIdentifier:
activeLanguage:
localizationFile: {fileID: 0}
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 149266}
m_IsPrefabParent: 1

8
Assets/Fungus/Narrative/Resources/Language.prefab.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ffbd0831d997545eab75c364da082c1b
timeCreated: 1428580452
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
Loading…
Cancel
Save