start画面button颜色动画添加

start画面button颜色动画添加
button颜色Changer修改为通用。
This commit is contained in:
2023-09-09 21:04:57 +09:00
parent 6dffd4185d
commit 904dc81c12
13 changed files with 863 additions and 103 deletions
+2 -2
View File
@@ -256,7 +256,7 @@ public class TargetController : MonoBehaviour
/// </remarks>
private void RandomSpawnSceneBlock(SceneBlockContainer.Targets targetType)
{
randLevel = GetRandomLevelIndex(targetType);
randLevel = RollRandomLevelIndex(targetType);
randBlockType = Random.Range(0, sceneBlockCon.scenePrefabSet.GetBlockNumber(targetType,randLevel));
sceneBlockSize = sceneBlockCon.scenePrefabSet.GetBlockSize(targetType, randLevel, randBlockType);
@@ -638,7 +638,7 @@ public class TargetController : MonoBehaviour
/// </summary>
/// <param name="target">The target type.</param>
/// <returns>A random level index.</returns>
public int GetRandomLevelIndex(SceneBlockContainer.Targets target)
public int RollRandomLevelIndex(SceneBlockContainer.Targets target)
{
List<float> targetProbs;