public my_CollectibleList(my_CollectibleList another) { this.id = another.id; this.listName = another.listName; this.collectibleList = another.collectibleList; }
// Use this for initialization void Start() { levelManager = LevelManager.Instance; currentCollectibleLevel = levelManager.achievementmanager.GetCollectibleLevel(levelManager.CurrentLevelName); }
public void AddCollectibleLevel(my_CollectibleList collectibleLevel) { collectibleLevel.id = collectibleAchievedList.Count; collectibleAchievedList.Add(collectibleLevel); }