码迷,mamicode.com
首页 > 其他好文 > 详细

尝试一下代码高亮。。成功的话明天写一篇blog

时间:2016-12-08 17:33:15      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:unit   als   called   ring   cond   first   call   str   tabs   

using System;
using System.Collections;
using UnityEngine;

public class Time : MonoBehaviour
{
    // Use this for initialization
    private void Start()
    {
        Debug.Log(System.DateTime.Now);
        Debug.Log(System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
        Debug.Log(System.DateTime.Now.Year
            + "-" + System.DateTime.Now.Month
            + "-" + System.DateTime.Now.Day
            + " " + System.DateTime.Now.Hour
            + ":" + System.DateTime.Now.Minute
            + ":" + System.DateTime.Now.Second);
    }

    // Update is called once per frame
    private void Update()
    {
    }
}

尝试一下代码高亮。。成功的话明天写一篇blog

标签:unit   als   called   ring   cond   first   call   str   tabs   

原文地址:http://www.cnblogs.com/fws94/p/6145568.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!