コード例 #1
0
    public static MsgLoading create()
    {
        GameObject Perfab     = Resources.Load("Prefab/Loading") as GameObject;
        GameObject gameObject = Instantiate(Perfab) as GameObject;
        MsgLoading msgObj     = gameObject.gameObject.AddComponent <MsgLoading>();

        return(msgObj);
    }
コード例 #2
0
ファイル: AddCardItem.cs プロジェクト: tonyshow/cardGame
 void btnEve(GameObject obj)
 {
     MsgLoading.create("Fight");
 }