start画面button颜色动画添加
start画面button颜色动画添加 button颜色Changer修改为通用。
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user