How do i access PlayerSettings through scripting?

I want to use PlayerSettings.TizenCapability.MessageWrite for sending emails. but i can’t. It looks like i should use specific library. Can you help me with that.

1 Answer

1

I guess you are looking for this:

using UnityEditor;
PlayerSettings.Tizen.SetCapability(PlayerSettings.TizenCapability.MessageWrite, true);

But, keep in mind that it’s an editor script, it will just change you editor setting. It’s not possible to change it in run time.