public static GameFacade GetInstance() { if (instance == null) { instance = GameObject.FindObjectOfType <GameFacade>(); if (instance == null) { throw new System.Exception("GameFacade不存在於場景中,請在場景中添加"); } instance.Initalize(); } return(instance); }