Advertisement
nbannister

BuildtimeInfo.boo

Nov 29th, 2017
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. import UnityEngine
  2.  
  3. macro build_buildtime_info():
  4. dateString = System.DateTime.Now.ToString()
  5. yield [|
  6. class BuildtimeInfo:
  7. static def DateTimeString() as string:
  8. return "${$(dateString)}"
  9. |]
  10.  
  11. build_buildtime_info
  12.  
  13. # # Now you can do this:
  14. # Debug.Log( BuildtimeInfo.DateTimeString() )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement