|
|
@@ -24,6 +24,7 @@ public class PKMatchingView : MonoBehaviour
|
|
|
[NonSerialized] public bool isTryAgainInvitee;
|
|
|
|
|
|
public static PKMatchingView Create() {
|
|
|
+ if (ins && ins.gameObject) Destroy(ins.gameObject);
|
|
|
GameObject o = GameObject.Instantiate(Resources.Load<GameObject>("Prefabs/Views/PKMatchingView"));
|
|
|
o.SetActive(true);
|
|
|
return o.GetComponent<PKMatchingView>();
|