Advanced POC - portals, dialogue system + floating words, room loading
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Unheimlich.Gameplay.Portals
|
||||
{
|
||||
/// <summary>
|
||||
/// Shared constants for the portal system.
|
||||
/// Contains only hardcoded values used in multiple places (shader properties, object names, thresholds).
|
||||
/// Does NOT include default values for serialized fields (those are configured per-instance in Inspector).
|
||||
/// </summary>
|
||||
public static class PortalConstants
|
||||
{
|
||||
public const string PORTAL_CAMERA_NAME = "PortalCamera";
|
||||
|
||||
public const string SHADER_PROPERTY_MAIN_TEXTURE = "_MainTex";
|
||||
public const string SHADER_PROPERTY_DISPLAY_MASK = "_DisplayMask";
|
||||
public const string SHADER_PROPERTY_SLICE_NORMAL = "_sliceNormal";
|
||||
public const string SHADER_PROPERTY_SLICE_OFFSET = "_sliceOffsetDst";
|
||||
public const string SHADER_PROPERTY_SLICE_CENTER = "_SliceCenter";
|
||||
|
||||
public const float MIN_VOLUME_THRESHOLD = 0.001f;
|
||||
public const float GAMEPAD_DEADZONE = 0.01f;
|
||||
|
||||
public const int RENDER_TEXTURE_DEPTH = 24;
|
||||
public const RenderTextureFormat RENDER_TEXTURE_FORMAT = RenderTextureFormat.ARGB32;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user