質問編集履歴

3

2019/02/08 19:51

投稿

terateraterater
terateraterater

スコア12

test CHANGED
File without changes
test CHANGED
@@ -72,13 +72,13 @@
72
72
 
73
73
 
74
74
 
75
- if (SingletonInstance.Instance(ref instance, this, gameObject))
75
+ if (!SingletonInstance.Instance(ref instance, this, gameObject))return;
76
76
 
77
- {
77
+
78
78
 
79
79
  //シングルトン作成時に何か処理があれば
80
80
 
81
- }
81
+
82
82
 
83
83
 
84
84
 

2

誤字

2019/02/08 19:51

投稿

terateraterater
terateraterater

スコア12

test CHANGED
File without changes
test CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
 
74
74
 
75
- if (SingletonInstance. Instance(ref instance, this, gameObject))
75
+ if (SingletonInstance.Instance(ref instance, this, gameObject))
76
76
 
77
77
  {
78
78
 

1

誤字

2019/02/08 18:52

投稿

terateraterater
terateraterater

スコア12

test CHANGED
File without changes
test CHANGED
@@ -72,7 +72,7 @@
72
72
 
73
73
 
74
74
 
75
- if (SingletonUtility.SetSingleton(ref instance, this, gameObject))
75
+ if (SingletonInstance. Instance(ref instance, this, gameObject))
76
76
 
77
77
  {
78
78