コード例 #1
0
 void Awake()
 {
     if (viewController == null) viewController = this;
     else if (viewController != this) Destroy(gameObject);
     DontDestroyOnLoad(this);
 }