Created
July 21, 2015 15:09
-
-
Save tsubaki/bc2385841170e5cae6e6 to your computer and use it in GitHub Desktop.
起動時に1度だけメッセージを表示する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
[UnityEditor.InitializeOnLoad] | |
public class Hoge | |
{ | |
static readonly string tempFilePath = "Temp/unique File Name2"; | |
static Hoge() | |
{ | |
if( System.IO.File.Exists(tempFilePath ) == false ){ | |
Debug.Log ("hoge"); | |
System.IO.File.Create(tempFilePath); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment