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.

post

Unity3D define engine version

use in script (c#)


#if UNITY_5_6_OR_NEWER

// engine version 5.6 or higher

#else

#endif

 

use in unity shader


#if UNITY_VERSION >= 560

// engine version 5.6 or higher

// 5.a.b -> 5ab

#else

#endif

 

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;
}