using System.Collections;
using System.Collections.Generic;
using UnityEngine;

//[CreateAssetMenu (menuName = "CreatManagerVarsContainer")]
public class ManagerVars : ScriptableObject
{
public static ManagerVars GetManagerVars()
{
return Resources.Load("ManageVarContain");
}
public List BGThemSpriteList = new List();
public GameObject noamlPlatform;
public GameObject characterPre;
public float nettXPos = 0.554f, nextYPos = 0.645f;
}

调用方法
private ManagerVars vars;
private void Start()
{
vars = ManagerVars.GetManagerVars();
}