1 Star 2 Fork 1

SteveSimon999/Unity 数独,但是波函数坍缩算法

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Tool.cs 498 Bytes
一键复制 编辑 原始数据 按行查看 历史
SteveSimon999 提交于 2023-03-21 19:17 +08:00 . 第一次提交
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class Tool
{
public static string TimeFormat(int sec)
{
string h = (sec / 3600).ToString();
string m = (sec % 3600 / 60).ToString();
string s = (sec % 60).ToString();
string time = (h.Length < 2 ? ("0" + h) : h) + ":" +
(m.Length < 2 ? ("0" + m) : m) + ":" +
(s.Length < 2 ? ("0" + s) : s);
return time;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/stevesimon999/unity-sudoku-of-wave-function-collapse.git
git@gitee.com:stevesimon999/unity-sudoku-of-wave-function-collapse.git
stevesimon999
unity-sudoku-of-wave-function-collapse
Unity 数独,但是波函数坍缩算法
master

搜索帮助