15 lines
463 B
C#
15 lines
463 B
C#
using System.Collections.Generic;
|
|
using EscapeRoomEngine.Engine.Runtime.Modules;
|
|
using UnityEngine;
|
|
|
|
namespace EscapeRoomEngine.Engine.Runtime.Requirements
|
|
{
|
|
[CreateAssetMenu(menuName = "Requirements/Place Anywhere")]
|
|
public class PlaceAnywhere : PlacementRequirement
|
|
{
|
|
protected override IEnumerable<Vector2Int> GenerateCandidates(Module module, Space space)
|
|
{
|
|
return space.rrDimensions.EveryPosition;
|
|
}
|
|
}
|
|
} |