This commit is contained in:
falc@null.net 2016-10-30 19:17:02 +01:00
parent 3180c9b628
commit 3668eb17a6
2 changed files with 45 additions and 2 deletions

View file

@ -12,7 +12,7 @@ public class Generator : MonoBehaviour {
MapCreation mScript; MapCreation mScript;
UnitCreator uScript; UnitCreator uScript;
InputManagerScript iScript; InputManagerScript iScript;
AudioManager aScript; //AudioManager aScript;
// Use this for initialization // Use this for initialization
void Start () { void Start () {
@ -23,7 +23,7 @@ public class Generator : MonoBehaviour {
GameObject mapCreator = Instantiate (mcreator); GameObject mapCreator = Instantiate (mcreator);
GameObject unitCreator = Instantiate (ucreator); GameObject unitCreator = Instantiate (ucreator);
GameObject inputMan = Instantiate (imanager); GameObject inputMan = Instantiate (imanager);
GameObject audioMan = Instantiate (amanager); //GameObject audioMan = Instantiate (amanager);
tScript = turnMan.GetComponent<TurnManagerScript> (); tScript = turnMan.GetComponent<TurnManagerScript> ();
mScript = mapCreator.GetComponent<MapCreation> (); mScript = mapCreator.GetComponent<MapCreation> ();
uScript = unitCreator.GetComponent<UnitCreator> (); uScript = unitCreator.GetComponent<UnitCreator> ();

View file

@ -183,6 +183,7 @@ MonoBehaviour:
mcreator: {fileID: 1000013182272914, guid: 9fe758e4b61ec0d4dbdd8b92521a6628, type: 2} mcreator: {fileID: 1000013182272914, guid: 9fe758e4b61ec0d4dbdd8b92521a6628, type: 2}
ucreator: {fileID: 1000012081215776, guid: afbffbb7b9d986345b62d4e4b7969551, type: 2} ucreator: {fileID: 1000012081215776, guid: afbffbb7b9d986345b62d4e4b7969551, type: 2}
imanager: {fileID: 1000013024682154, guid: 85681a523e843e54895aa694f42139a4, type: 2} imanager: {fileID: 1000013024682154, guid: 85681a523e843e54895aa694f42139a4, type: 2}
amanager: {fileID: 0}
--- !u!4 &798253254 --- !u!4 &798253254
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -196,6 +197,48 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 2 m_RootOrder: 2
--- !u!1001 &892987317
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalPosition.x
value: 1.165492
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalPosition.y
value: 5.1624355
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalPosition.z
value: -1.8925428
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4000011738344164, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
propertyPath: m_RootOrder
value: 6
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: b642fc53397026446a90e99bcfcffe87, type: 2}
m_IsPrefabParent: 0
--- !u!1001 &1076559332 --- !u!1001 &1076559332
Prefab: Prefab:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0