void OnEnable() { bannerColor = new Color(0.435f, 0.764f, 0.478f); bannerText = AssetName; helpURL = "https://docs.google.com/document/d/1PPkiR2PO4P2MoGjkNLL28WOOfrsN-8pEJiCglwXKdkI/edit#heading=h.hbq3w8ae720x"; boxophobicFolder = BEditorUtils.GetBoxophobicFolder(); unityMajorVersion = Application.unityVersion.Substring(0, 4); unityMinorVersion = Application.unityVersion.Substring(5, 1); // LTS unity version use XXXX.3 package version if (int.Parse(unityMinorVersion) == 4) { unityMinorVersion = "3"; } }
void OnEnable() { bannerColor = new Color(0.474f, 0.709f, 0.901f); bannerText = AssetName; helpURL = "https://docs.google.com/document/d/1pIzIHIZ-cSh2ykODSZCbAPtScJ4Jpuu7lS3rNEHCLbc/edit#heading=h.hbq3w8ae720x"; boxophobicFolder = BEditorUtils.GetBoxophobicFolder(); unityMajorVersion = Application.unityVersion.Substring(0, 4); unityMinorVersion = Application.unityVersion.Substring(5, 1); // LTS unity version use XXXX.3 package version if (int.Parse(unityMinorVersion) == 4) { unityMinorVersion = "3"; } }