質問編集履歴
3
誤字修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -51,7 +51,7 @@
|
|
51
51
|
var x = Asset.Instance;
|
52
52
|
|
53
53
|
// await の中だと複数回初期化される
|
54
|
-
// var y = await Something.Do(Asset.Instance
|
54
|
+
// var y = await Something.Do(Asset.Instance);
|
55
55
|
}
|
56
56
|
```
|
57
57
|
|
2
タグ修正
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -9,13 +9,13 @@
|
|
9
9
|
public class Asset
|
10
10
|
{
|
11
11
|
private static Asset _instance;
|
12
|
-
public static
|
12
|
+
public static Asset Instance
|
13
13
|
{
|
14
14
|
get
|
15
15
|
{
|
16
16
|
if (_instance == null)
|
17
17
|
{
|
18
|
-
_instance = new
|
18
|
+
_instance = new Asset();
|
19
19
|
}
|
20
20
|
return _instance;
|
21
21
|
}
|