Skip to content

Patch.GetLocalVersion

Wesley Haws edited this page Nov 2, 2016 · 2 revisions

#GetLocalVersion

public string GetLocalVersion(string overrideLocation="")

##Parameters

Type Name Description
string overrideLocation Optional. Specify another location where your version file is.

##Description

Get contents of local version file.

##Example

using GameDevRepo;

void Start() {
    PatchSystem patch = new PatchSystem();
    string version = patch.GetLocalVersion();
    Debug.Log("Version "+version);
}
Clone this wiki locally