删除README的转义符 并 修改对象池文件名
This commit is contained in:
1 parent
63304f3382
commit
44b46d0724
2 files changed
+1
-1
No files matched your search
File renamed without changes.
@@ -66,7 +66,7 @@ public class EnemySpawner : MonoBehaviour
|
||||
{
|
||||
for (var i = 0; i < spawnCount; i++)
|
||||
{
|
||||
var spawnPosition = transform.position + (Vector3)Random.insideUnitCircle \* spawnRadius;
|
||||
var spawnPosition = transform.position + (Vector3)Random.insideUnitCircle * spawnRadius;
|
||||
SingletonObjectPool<Enemy>.Instance.Spawn(transform).transform.position = spawnPosition;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user