You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using
MonoBehaviourを継承したサブクラスをnewで生成している場合
上記のような警告が出力されてしまいます
You are trying to create a MonoBehaviour using the 'new' keyword. This is not allowed. MonoBehaviours can only be added using
MonoBehaviourを継承したサブクラスをnewで生成している場合
上記のような警告が出力されてしまいます