Unity 框架

CreateGeneralScript.cs 360B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace TFramework
  5. {
  6. public class CreateGeneralScript : DoCreateScriptAsset
  7. {
  8. public override string ReplaceTemplateContent(string className, string templateContent)
  9. {
  10. return templateContent.Replace("#ClassName", className);
  11. }
  12. }
  13. }