My Project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Map Class Reference
Inheritance diagram for Map:

Public Types

enum  AmbientType {
  None = 0 , Mountains , Jungle , Windy ,
  Rumble , Cave , RainForest
}
 

Public Member Functions

void ManualStart ()
 
void StartFromSettings (MapSettings ms)
 
void Generate (int seed)
 
void Mirror ()
 
void CalculateLocalBounds ()
 
void UpdateComponents ()
 
void Clear ()
 
void ClearGenerated ()
 
void ClearMirrored ()
 
bool IsFOW ()
 
void SetFOW (bool on)
 
Bounds GetNonMirroredBounds ()
 

Static Public Member Functions

static string GetSceneName ()
 
static string GetLevelName ()
 
static string GetLevelName (string actualName)
 
static void Regenerate (Map map, MapSettings mapSettings, int seed)
 
static void Reload (Map map, MapSettings mapSettings, bool designer)
 
static void DrawBounds (Transform parent, Bounds bounds, Color color)
 
static bool LimitEffects (Vector2 pos)
 
static void EffectsLimiterLift ()
 

Public Attributes

LayerMask groundLayer
 
LayerMask climbableLayer
 
LayerMask FOWLayer
 
bool generate = true
 
bool mirror = true
 
int width = 7
 
int height = 3
 
Vector3 scale = Vector3.one
 
bool useCustomColors
 
Color platformsColor
 
Color detailColor
 
Color backColor
 
Color backDimColor
 
Color platformsRimColor
 
Color effectsColor
 
Color fadeColor
 
Color fogColor
 
Color sunLightColor
 
Color ambientSkyColor
 
Color ambientEquatorColor
 
Color ambientGroundColor
 
bool fog = true
 
bool fogGradient = true
 
float fogDistance = 504
 
Color skyColor
 
Color skyColor2
 
float skyGradientScale = 0.3f
 
float skyGradientOffset = 0f
 
float skyGradientRotation = 0f
 
float backColorHeightOffset
 
float backColorHeightScale
 
float hueShift = 0.0f
 
float saturationShift = 0.0f
 
float brightnessShift = 0.0f
 
float sunIntensityShift
 
float sunHorizontalAngle
 
float sunVerticalAngle
 
Texture2D platformsTexture
 
Texture2D normalTexture
 
Texture2D detailTexture
 
Texture2D detailNormalTexture
 
Texture2D detailGradientTexture
 
float textureScale = 1.0f
 
float detailTextureScale = 10.0f
 
float normalTextureScale = 1.0f
 
float detailNormalTextureScale = 1.0f
 
float detailImpact
 
float flatBackgroundFogScale = 0.25f
 
float flatBackgroundDarken = 0.0f
 
ProtoShape2D backdim
 
ProtoShape2D backdrop
 
ProtoShape2D leftCover
 
ProtoShape2D rightCover
 
ProtoShape2D topCover
 
ProtoShape2D bottomCover
 
Light sunLight
 
Transform particlesTemp
 
Transform constructTemp
 
Transform bulletsTemp
 
Transform generated
 
Bounds bounds
 
UnityEvent OnGenerated = new UnityEvent()
 
UnityEvent OnPreGenerate = new UnityEvent()
 
UnityEvent OnClear = new UnityEvent()
 
UnityEvent OnPostGenerated = new UnityEvent()
 
AudioReverbZone reverbZone
 
WaypointManager wayMgr
 
MapBoundsHandling boundsHandling
 
string levelName
 
string mapSettingsName
 
string authorName
 
int debugSeed = 0
 
string debugPrefab
 
string debugRules
 
List< string > debugModifiers
 
List< Impact.EffectrockEffects
 
List< Impact.EffectsandEffects
 
List< Impact.EffectmetalEffects
 
List< Impact.EffectwoodEffects
 
Material platformsMaterial
 
Material platformsBackMaterial
 
Material platformsTexturedBackMaterial
 
Material objectsForegroundMaterial
 
Material skyMaterial
 
Shader tesselationShader
 
Shader protoshapeShader
 
Shader plainShader
 
Shader backShader
 
Shader skyShader
 
Material glowMaterial
 
float offsetBackdrops = 7.0f
 
float dimTransparency = 0.35f
 
float topBarrierHeight = 0f
 
List< GameObject > combine
 
AmbientType ambientSound
 
List< AudioClip > ambientClips
 
AudioSource ambientSoundSource
 

Static Public Attributes

static Map Get
 
static byte[] RawMapSettings
 
static byte[] RawRules
 
static Dictionary< string, byte[]> RawScripts
 
static int RandomSeed = 0
 
static int effectsLimiter
 
static int effectsLimit
 

The documentation for this class was generated from the following file: