void Start() { gp = GameObject.Find("GetPool").GetComponent <GetPool>(); runelist = gp.runepool[runeclass]; //Debug.Log("runeclass:"+runeclass+"\n"+"object:"+gameObject.name); getRune(true); }
void Awake() { //GetPool singleton getPool = GetPool.instance; //GetPool.OnChangeRune event subscribe GetPool.OnChangeRuneHand += OnChangeRuneHand; }
private void Awake() { //DontDestroyOnLoad(gameObject); if (instance != null) { Destroy(gameObject); return; } instance = this; avaPool = AvaPool.instance; }