chore: add new meta files for TileRegistry, LevelDefinition, GameUiCoordinator, and test assets
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b2d628098b45e36879d59d2c2c2bf061
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d1e67659d937881ee99b3b9e84f91428
|
||||
@@ -4,6 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using Core.Domain;
|
||||
using UnityEngine;
|
||||
using Debug = UnityEngine.Debug;
|
||||
using Random = UnityEngine.Random;
|
||||
|
||||
namespace Infrastructure.Unity
|
||||
@@ -30,7 +31,7 @@ namespace Infrastructure.Unity
|
||||
|
||||
public IEnumerator GenerateAsync(SoundManager soundManager, TileRegistry registry, CameraController camera, RumbleManager rumble, Action onComplete)
|
||||
{
|
||||
if (levelDefinition == null)
|
||||
if (!levelDefinition)
|
||||
{
|
||||
Debug.LogError("LevelGenerator: levelDefinition is not assigned. Assign a LevelDefinition asset in the Inspector.");
|
||||
onComplete?.Invoke();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Core.Domain;
|
||||
using Core.Domain.Status.Effects;
|
||||
using KBCore.Refs;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
2
Assets/Scripts/Infrastructure/Unity/TileRegistry.cs.meta
Normal file
2
Assets/Scripts/Infrastructure/Unity/TileRegistry.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b9e18fc22049e4e8c97b14af34cc4747
|
||||
Reference in New Issue
Block a user