Merge branch 'master' of https://github.com/arkaik/SkeletonWars
This commit is contained in:
commit
30ddcf6187
3 changed files with 119 additions and 1510 deletions
1587
Assets/01.unity
1587
Assets/01.unity
File diff suppressed because it is too large
Load diff
28
Assets/Generator.cs
Normal file
28
Assets/Generator.cs
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
using UnityEngine;
|
||||||
|
using System.Collections;
|
||||||
|
|
||||||
|
public class Generator : MonoBehaviour {
|
||||||
|
|
||||||
|
GameObject tmanager;
|
||||||
|
GameObject fcreator;
|
||||||
|
GameObject ucreator;
|
||||||
|
Component tScript;
|
||||||
|
Component fScript;
|
||||||
|
Component uScript;
|
||||||
|
|
||||||
|
// Use this for initialization
|
||||||
|
void Start () {
|
||||||
|
GameObject turnMan = Instantiate (tmanager);
|
||||||
|
GameObject floorCreator = Instantiate (fcreator);
|
||||||
|
GameObject unitCreator = Instantiate (ucreator);
|
||||||
|
tScript = turnMan.GetComponent ("TurnManagerScript");
|
||||||
|
//fScript = floorCreator.GetComponent ("FloorCreatorScript");
|
||||||
|
uScript = unitCreator.GetComponent ("UnitCreator");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update () {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
12
Assets/Generator.cs.meta
Normal file
12
Assets/Generator.cs.meta
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4828dbfa7343efb49b36490a44cb05d7
|
||||||
|
timeCreated: 1477696941
|
||||||
|
licenseType: Free
|
||||||
|
MonoImporter:
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Loading…
Reference in a new issue