add project files

This commit is contained in:
Boris Nikolaev
2026-08-14 01:58:31 +03:00
parent 9134cad79b
commit 5f1e94b653
4399 changed files with 12286903 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public class LevelDef
{
public int levelCount;
[Tooltip("Section")]
[Space]
public int sectionCount;
public int maxSectionYPerLevel = 1;
[Tooltip("Random Difficluty Pool")]
public List<DifficultyPoolElem> randomDiffPool;
[Tooltip("Atlernate Random Difficluty Pool (leave empty to not use)")]
public List<DifficultyPoolElem> randomDiffPoolAlt;
[Space]
[Tooltip("Forced section : the final one will always be added")]
public List<Section> forcedSections;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 90167e2bf6b774c4a982e015442043dd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+10
View File
@@ -0,0 +1,10 @@
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "MetaDef", menuName = "GameSqueleton/New Meta Game Def")]
public class MetaDef : ScriptableObject
{
public List<PlayerSkinDef> playerSkins;
public List<PickupsSkinDef> pickupsSkins;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9721b3e8f85cfffc8751e8c69b2a537c
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,43 @@
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "ProgressionDef", menuName = "GameSqueleton/New Progression Def")]
public class ProgressionDef : ScriptableObject
{
public bool replaySameLevelsAfterGameOver = true;
public bool removePreviousSectionsForNextGame;
[Space]
public bool useTurn;
public int turnEachSection = 1;
public Section GroundLeft;
public Section GroundRight;
public Section SafeZone;
[Header("Checkpoints")]
[Space]
public GameObject Checkpoints;
[Header("Bonus Levels")]
[Space]
[Header("Levels Progression")]
[Space]
public List<LevelDef> levels = new List<LevelDef>();
public List<LevelDef> levelsShorter = new List<LevelDef>();
public List<LevelDef> levelsDiffPath = new List<LevelDef>();
[Header("Sections")]
public Section initialSection;
public Section finalSection;
public Section finalSectionABTest;
[Space]
public List<Section> sections;
public List<string> sectionDirs = new List<string> { "Assets/Prefabs/Sections" };
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1e35a105ac4137e628f4bd6e8aa6e1e6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+16
View File
@@ -0,0 +1,16 @@
using UnityEngine;
using OHM.UnityToolkit.Localization;
using UnityEngine.Serialization;
public class SizePrefabUI : MonoBehaviour
{
[SerializeField]
[FormerlySerializedAs("locText")]
private LocalizedText _locText;
public void SetText(string locKey, Color color)
{
_locText.ChangeKey(locKey);
_locText.text.tmTexts[0].color = color;
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 492c9a28e131cd630858169212e4d60f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: