Version: 2021.3
LanguageEnglish
  • C#

PlayerSettings.Android.keystoreName

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static string keystoreName;

Description

Android keystore name.

To set the keystore name, you can specify an absolute path, or a relative path to your Unity project's location. If you provide a relative path or an absolute path to the file inside of the project, Unity stores it as a relative path to the project. If you provide an absolute path to the dedicated keystore location Unity stores it as a relative path to the dedicated location. All other absolute paths are stored as is.

When reading the value, this returns exactly what Unity stores internally. If the keystore is stored in the Unity project, or a dedicated keystore location, a relative path is returned. This means that there is no way to identify if the path is relative to the Unity project, or dedicated keystore location. This returns an absolute path, if an absolute path is stored in Unity.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961