protected string GetFooter() { if (TempScriptHelper.GetRuleShowState()) { var rule = TempScriptHelper.GetCodeRule(); return(rule); } return(null); }
private void InitEnviroment() { if (script == null) { script = MonoScript.FromScriptableObject(this); } showRule = TempScriptHelper.GetRuleShowState(); if (string.IsNullOrEmpty(codeRule)) { codeRule = TempScriptHelper.GetCodeRule(); } if (string.IsNullOrEmpty(authorName)) { authorName = TempScriptHelper.GetAuthor(); } if (string.IsNullOrEmpty(authorName)) { isSetting = true; } }