I cant fix 2 errors. Assets\Plugins\Assembly-CSharp-firstpass\ForcedReset.cs(6,26): error CS1003: Syntax error, ']' expected and Assets\Plugins\Assemb

hello, i cant fix 2 errors for my game. this is the script, does anyone know how to fix these errors (the errors are : Assets\Plugins\Assembly-CSharp-firstpass\ForcedReset.cs(6,26): error CS1003: Syntax error, ‘]’ expected and Assets\Plugins\Assembly-CSharp-firstpass\ForcedReset.cs(6,38): error CS1022: Type or namespace definition, or end-of-file expected :

using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityStandardAssets.CrossPlatformInput;

[RequireComponent(typeof(public Image))]
public class ForcedReset : MonoBehaviour
{
	private void Update()
	{
		if (CrossPlatformInputManager.GetButtonDown("ResetObject"))
		{
			SceneManager.LoadScene(SceneManager.GetSceneAt(0).name);

		}
	}
}