public class GameOver : MonoBehaviour {
public GameObject gameOverUi;
// Use this for initialization
void Start () {
} // Update is called once per frame void Awake () { Instantiate(gameOverUi); }
上記のようなプログラムで生成したgameOverUi(GameObject)にこのプログラム内でscriptをattachする方法はあるのでしょうか?

バッドをするには、ログインかつ
こちらの条件を満たす必要があります。