mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-05 07:41:10 +00:00
init: add project
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace _Project.Develop.Runtime.Utils.RandomManagement
|
||||
{
|
||||
public interface IRandomService
|
||||
{
|
||||
int Range(int min, int max);
|
||||
float Range(float min, float max);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d49b6f25c4f34db68e6fcdec5aa0db62
|
||||
timeCreated: 1770824214
|
||||
@@ -0,0 +1,17 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace _Project.Develop.Runtime.Utils.RandomManagement
|
||||
{
|
||||
public class RandomService : IRandomService
|
||||
{
|
||||
public int Range(int min, int max)
|
||||
{
|
||||
return Random.Range(min, max);
|
||||
}
|
||||
|
||||
public float Range(float min, float max)
|
||||
{
|
||||
return Random.Range(min, max);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 92646652978e4facaf700e783c669062
|
||||
timeCreated: 1770824214
|
||||
Reference in New Issue
Block a user