Фабрика игрока
This commit is contained in:
1 parent
653342d080
commit
a7872a0f8c
45 files changed
+395
-168
No files matched your search
@@ -9,7 +9,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Audio{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "AudioInfoConfig", menuName = "Configs/Audio/AudioInfo")]
|
||||
|
||||
public class AudioInfoConfig : ScriptableObject
|
||||
{
|
||||
public Code.Infrastructure.Audio.AudioNames GroupName;
|
||||
|
||||
@@ -7,7 +7,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Audio{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "AudioSourcePrefabConfig", menuName = "Configs/Audio/AudioSourceSettings")]
|
||||
|
||||
public class AudioSourcePrefabConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.AddressableAssets.AssetReference sourcePrefab;
|
||||
|
||||
@@ -8,7 +8,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Audio{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "AudioSourceSettingsConfig", menuName = "Configs/Audio/AudioSourceSettings")]
|
||||
|
||||
public class AudioSourceSettingsConfig : ScriptableObject
|
||||
{
|
||||
public System.Single spatialBlend;
|
||||
|
||||
@@ -10,7 +10,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Camera{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "CameraSettingsConfig", menuName = "Configs/Camera/CameraSettings")]
|
||||
|
||||
public class CameraSettingsConfig : ScriptableObject
|
||||
{
|
||||
public System.Single fov;
|
||||
|
||||
@@ -7,7 +7,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.UI{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "CanvasSettingsConfig", menuName = "Configs/UI/CanvasSettings")]
|
||||
|
||||
public class CanvasSettingsConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.AddressableAssets.AssetReference Prefab;
|
||||
|
||||
@@ -55,7 +55,6 @@ using Code.Infrastructure.Input;
|
||||
|
||||
_singleConfigReferences.Add(typeof(Code.Infrastructure.Input.InputServiceConfig), systemConfigsReferences.InputService);
|
||||
|
||||
//_singleConfigReferences.Add(typeof(ScenesAssetReferences), systemConfigsReferences.scenesAssetReferences);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Camera{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "GameCameraConfig", menuName = "Configs/Camera/CameraConfig")]
|
||||
|
||||
public class GameCameraConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.AddressableAssets.AssetReference Camera;
|
||||
|
||||
@@ -7,7 +7,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Input{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "InputServiceConfig", menuName = "Configs/InputService")]
|
||||
|
||||
public class InputServiceConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.InputSystem.InputActionAsset inputActionAsset;
|
||||
|
||||
@@ -8,7 +8,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Configs{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "LayerMasksConfigConfig", menuName = "Configs/LayerMasksConfig")]
|
||||
|
||||
public class LayerMasksConfigConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.LayerMask mask;
|
||||
|
||||
@@ -8,7 +8,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Example.Platformer.Entity{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "PlatformerEntitySettingsConfig", menuName = "Configs/Gameplay/Platformer/EntitySettings")]
|
||||
|
||||
public class PlatformerEntitySettingsConfig : ScriptableObject
|
||||
{
|
||||
public Code.Example.Platformer.Entity.PlatformerEntityData EntityData;
|
||||
|
||||
@@ -1,18 +1,16 @@
|
||||
|
||||
#pragma warning disable CS0105
|
||||
using Code.Example.Platformer.Entity;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Example.Platformer.Entity{
|
||||
#pragma warning restore CS0105
|
||||
[CreateAssetMenu(fileName = "PlatformerPlayerSettingsConfig", menuName = "Configs/Gameplay/Platformer/PlayerSettings")]
|
||||
|
||||
|
||||
|
||||
public class PlatformerPlayerSettingsConfig : ScriptableObject
|
||||
{
|
||||
public Code.Example.Platformer.Entity.PlatformerEntityData EntityData;
|
||||
public UnityEngine.AddressableAssets.AssetReference prefabReference;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Example.Race.Racer{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "RacerSettingsConfig", menuName = "Configs/Gameplay/RacerSettings")]
|
||||
|
||||
public class RacerSettingsConfig : ScriptableObject
|
||||
{
|
||||
public Code.Example.Race.Racer.RacerData racerData;
|
||||
|
||||
@@ -8,7 +8,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.SceneLoader{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "SceneInfoConfig", menuName = "Configs/SceneConfig")]
|
||||
|
||||
public class SceneInfoConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.AddressableAssets.AssetReference SceneAsset;
|
||||
|
||||
@@ -9,7 +9,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.UI{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "UIPanelSettingsConfig", menuName = "Configs/UI/UIPanelSettings")]
|
||||
|
||||
public class UIPanelSettingsConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.AddressableAssets.AssetReference Prefab;
|
||||
|
||||
@@ -9,7 +9,9 @@ using UnityEngine.AddressableAssets;
|
||||
|
||||
namespace Code.Infrastructure.Volume{
|
||||
#pragma warning restore CS0105
|
||||
|
||||
[CreateAssetMenu(fileName = "VolumeSettingsConfig", menuName = "Configs/PostProcessing/VolumeSetting")]
|
||||
|
||||
public class VolumeSettingsConfig : ScriptableObject
|
||||
{
|
||||
public UnityEngine.AddressableAssets.AssetReference prefab;
|
||||
|
||||
Reference in new issue
Block a user