2012-01-06から1日間の記事一覧
Newで生成しようとすると失敗する。 Script script = new Script(); You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can in…
Newで生成しようとすると失敗する。 Script script = new Script(); You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using AddComponent(). Alternatively, your script can in…