Compare commits
No commits in common. "3ae0de86ba4f2bcc27c2d12289dfdde0939b7a5b" and "921449fc1dd6c21788dfb2543ae81b27c4e72034" have entirely different histories.
3ae0de86ba
...
921449fc1d
@ -248,7 +248,7 @@ MonoBehaviour:
|
||||
_renderLayer: Default
|
||||
_position: {x: 0, y: 0}
|
||||
_scale: {x: 1, y: 1}
|
||||
_waveConfig: {fileID: 11400000, guid: 660102a48ad7d2244ab404cfc1f6a573, type: 2}
|
||||
_waveConfig: {fileID: 11400000, guid: d8140ae36f1b7fd4fb1a57ab3dc69de4, type: 2}
|
||||
_startPopulation: 10
|
||||
_startFood: 40
|
||||
_startWood: 0
|
||||
|
||||
@ -1,23 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: eb0795e326609f0499365f5b65c2b5cd, type: 3}
|
||||
m_Name: WaveConfig_Creeper_Test
|
||||
m_EditorClassIdentifier:
|
||||
_constantSpawn:
|
||||
- _enemy: {fileID: 80204295746100150, guid: 1be769d6ef642314b8846bed35e7297c, type: 3}
|
||||
_count: 20
|
||||
_nestedGroupSpawn:
|
||||
- groupSpawn:
|
||||
- _enemy: {fileID: 80204295746100150, guid: 2def22091e1ff0d43abe2797c18a2fda, type: 3}
|
||||
_count: 1
|
||||
triggerTime: 0.5
|
||||
_gameDuration: 1
|
||||
@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 660102a48ad7d2244ab404cfc1f6a573
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2def22091e1ff0d43abe2797c18a2fda
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -1,20 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Creeper : Opponent
|
||||
{
|
||||
[SerializeField]
|
||||
private GameObject[] creeplings;
|
||||
|
||||
public override void Death()
|
||||
{
|
||||
for (int i = 0; i < creeplings.Length; i++)
|
||||
{
|
||||
float randomX = Random.Range(0f, 2f) + transform.position.x;
|
||||
Vector3 spawnPosition = new Vector3(randomX, transform.position.y, transform.position.z);
|
||||
GameObject creeplingsInstance = Instantiate(creeplings[i], spawnPosition, Quaternion.identity);
|
||||
}
|
||||
base.Death();
|
||||
}
|
||||
}
|
||||
@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f89e6964a347fce48a22f42c1c23416c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
x
Reference in New Issue
Block a user