Unity3D define engine version

use in script (c#)


// engine version 5.6 or higher




use in unity shader

#if UNITY_VERSION >= 560

// engine version 5.6 or higher

// 5.a.b -> 5ab





Convert local time from UTC time

reference  https://www.codeproject.com/Articles/10081/UNIX-timestamp-to-System-DateTime

Test Codeview

Hi~ First note

test code view

#include <iostream>

int main()
	std::cout << "hello test";
	return 0;

First blog post

This is your very first post. Click the Edit link to modify or delete it, or start a new post. If you like, use this post to tell readers why you started this blog and what you plan to do with it.