OptionMenu.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
    void Start()
    {
        if (PlayerPrefs.GetInt ("Sound") == 1)
        {
            t.isOn = true;

        } else
        {
            t.isOn = false;
            PlayerPrefs.SetInt ("Sound", 0);
        }
    }