diff --git a/Week 8 Project/Assets/SPawner.cs b/Week 8 Project/Assets/SPawner.cs index 4bbd9235..ce53b4e5 100644 --- a/Week 8 Project/Assets/SPawner.cs +++ b/Week 8 Project/Assets/SPawner.cs @@ -2,13 +2,44 @@ using System.Collections; public class SPawner : MonoBehaviour { + //Digital + public GameObject digitalBlock; - public int ballCount = 0; - public int ballCountMax = 10; - public GameObject paddleBall; + //Media + public GameObject mediaBlock; - // Use this for initialization - void Start () { + //and + public GameObject andBlock; + + //Design + public GameObject designBlock; + + //is + public GameObject isBlock; + + //Awesome + public int awesomeECount = 0; + public int awesomeEMax = 12; + public GameObject awesomeBlock; + public Object e01; + GameObject e02; + GameObject e03; + GameObject e04; + GameObject e05; + GameObject e06; + GameObject e07; + GameObject e08; + GameObject e09; + GameObject e10; + GameObject e11; + GameObject e12; + GameObject e13; + GameObject e14; + GameObject e15; + GameObject e16; + + // Use this for initialization + void Start () { } @@ -17,18 +48,20 @@ public class SPawner : MonoBehaviour { } - public void SpawnBall1Wrap() + public void BottomCoroutine() { - StartCoroutine (SpawnBall1 ()); + StartCoroutine (SpawnEBottom()); } - IEnumerator SpawnBall1() + IEnumerator SpawnEBottom() { + Debug.Log("Button Works"); - while (ballCount < ballCountMax) { - Instantiate(paddleBall, new Vector3(transform.position.x, transform.position.y, transform.position.z), Quaternion.identity); - ballCount++; - yield return new WaitForSeconds(4f); + while (awesomeECount < awesomeEMax) { + Instantiate(awesomeBlock, new Vector3(transform.position.x, transform.position.y, transform.position.z), Quaternion.identity); + //iTween.MoveTo(e01, iTween.Hash("path", iTweenPath.GetPath("e0"), "time", 5)); + yield return new WaitForSeconds(1f); + Debug.Log("While Work!"); } } } diff --git a/Week 8 Project/Assets/SPawner.cs.meta b/Week 8 Project/Assets/SPawner.cs.meta index 1cb0aac0..5f93173f 100644 --- a/Week 8 Project/Assets/SPawner.cs.meta +++ b/Week 8 Project/Assets/SPawner.cs.meta @@ -1,10 +1,17 @@ fileFormatVersion: 2 guid: 9ec6c9d2b6ade5b419fa5669181aac6b -timeCreated: 1445359407 +timeCreated: 1445894319 licenseType: Free MonoImporter: serializedVersion: 2 - defaultReferences: [] + defaultReferences: + - digitalBlock: {fileID: 190352, guid: 0168e9c609c0d854aa6c19b86c90b057, type: 2} + - mediaBlock: {fileID: 132284, guid: daeecd02c238b2946930db5c425666dc, type: 2} + - andBlock: {fileID: 157384, guid: 59cd085221da37442972efae631ea93e, type: 2} + - designBlock: {fileID: 150760, guid: 73ff7748b592555458b90d0a88c0ecb3, type: 2} + - isBlock: {fileID: 119338, guid: a3b77de0856ab074ea76915734819b39, type: 2} + - awesomeBlock: {fileID: 124824, guid: a859f3b6e6024ac4cbd2189e91b4a888, type: 2} + - e01: {instanceID: 0} executionOrder: 0 icon: {instanceID: 0} userData: diff --git a/Week 8 Project/Assets/SpawningObjects.unity b/Week 8 Project/Assets/SpawningObjects.unity index d0dcf064..ab908fce 100644 Binary files a/Week 8 Project/Assets/SpawningObjects.unity and b/Week 8 Project/Assets/SpawningObjects.unity differ diff --git a/Week 8 Project/Library/CurrentLayout.dwlt b/Week 8 Project/Library/CurrentLayout.dwlt index 559f0332..eb3bf947 100644 Binary files a/Week 8 Project/Library/CurrentLayout.dwlt and b/Week 8 Project/Library/CurrentLayout.dwlt differ diff --git a/Week 8 Project/Library/InspectorExpandedItems.asset b/Week 8 Project/Library/InspectorExpandedItems.asset index e38aee52..3d4b6ef4 100644 Binary files a/Week 8 Project/Library/InspectorExpandedItems.asset and b/Week 8 Project/Library/InspectorExpandedItems.asset differ diff --git a/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb b/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb index a4dbe218..c2afb274 100644 Binary files a/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb and b/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll.mdb differ diff --git a/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll.mdb b/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll.mdb index dbedd7be..b692d45e 100644 Binary files a/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll.mdb and b/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll.mdb differ diff --git a/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb b/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb index 2d60aa35..655aa0eb 100644 Binary files a/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb and b/Week 8 Project/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb differ diff --git a/Week 8 Project/Library/assetDatabase3 b/Week 8 Project/Library/assetDatabase3 index fa508e54..b7e40933 100644 Binary files a/Week 8 Project/Library/assetDatabase3 and b/Week 8 Project/Library/assetDatabase3 differ diff --git a/Week 8 Project/Library/expandedItems b/Week 8 Project/Library/expandedItems index 12bf4619..d72cfffa 100644 Binary files a/Week 8 Project/Library/expandedItems and b/Week 8 Project/Library/expandedItems differ diff --git a/Week 8 Project/Library/metadata/00/00000000000000004000000000000000 b/Week 8 Project/Library/metadata/00/00000000000000004000000000000000 index 7e1d70c4..b2ffbb09 100644 Binary files a/Week 8 Project/Library/metadata/00/00000000000000004000000000000000 and b/Week 8 Project/Library/metadata/00/00000000000000004000000000000000 differ diff --git a/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b b/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b index b67bd649..8deec1f5 100644 Binary files a/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b and b/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b differ diff --git a/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b.info b/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b.info index 2bead460..8bde3317 100644 Binary files a/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b.info and b/Week 8 Project/Library/metadata/9e/9ec6c9d2b6ade5b419fa5669181aac6b.info differ diff --git a/Week 8 Project/Week 8 Project.sln b/Week 8 Project/Week 8 Project.sln index a0f6128b..46da5891 100644 --- a/Week 8 Project/Week 8 Project.sln +++ b/Week 8 Project/Week 8 Project.sln @@ -29,7 +29,7 @@ Global GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(MonoDevelopProperties) = preSolution + GlobalSection(MonoDevelopProperties) = preSolution StartupItem = Assembly-CSharp.csproj Policies = $0 $0.TextStylePolicy = $1