using System.Collections; using System.Collections.Generic; using UnityEngine; //Author:YHD public class Volunteer : BaseClass { public static int VolunteerIndex = 0; public Volunteer(GameObject obj, GameObject parentObj, GameObject TheZaiQingUI, int id, RaycastHit hit_, float delta_y_) : base(obj, parentObj, TheZaiQingUI, id, hit_, delta_y_) { } public override void InstatiateItem(string objTypeName) { base.InstatiateItem(objTypeName); VolunteerIndex++; } public override void InstatiateItem(string objTypeName, string topname) { base.InstatiateItem(objTypeName, topname); VolunteerIndex++; } }