void Start() { this.Skill_list = new List <GameObject>(); this.Skill_list.Add(OwlPrefab); this.Skill_list.Add(AlpacaPrefab); this.Skill_list.Add(TurtlePrefab); this.Camera_Control = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Player_Camera>(); this.Movespeed_Control = GameObject.FindGameObjectWithTag("Player").GetComponent <Player>(); }
void Awake() { Instance = this; }
public void AddPlayer(Player_Camera playerScript) { playerList.Add(playerScript); }