Created
July 28, 2016 11:21
-
-
Save tsubaki/416f0646cfeafd168266b2924a43b737 to your computer and use it in GitHub Desktop.
ゲーム開始時にオブジェクトを一つ生成(強制)
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; | |
public class Spawn | |
{ | |
[RuntimeInitializeOnLoadMethod()] | |
static void Init() | |
{ | |
new GameObject ("sample"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment