Files
CortexCore a379dc5cd3 1
2024-05-13 01:28:33 +08:00

15 lines
277 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Add_PA : MonoBehaviour {
private Area_tmp tmp;
void Start(){
tmp = GameObject.FindGameObjectWithTag("Areas").GetComponent<Area_tmp>();
tmp.areas.Add(this.gameObject);
}
}