示例#1
0
	public void SetProfileIndexForPlatfrom(RuntimePlatform platfrom, int index, bool IsTesting) {
		foreach(GAPlatfromBound pb in platfromBounds) {
			if(pb.platfrom.Equals(platfrom)) {
				if(IsTesting) {
					pb.profileIndexTestMode = index;
				} else {
					pb.profileIndex = index;
				}

				return;
			}
		}

		GAPlatfromBound bound =  new GAPlatfromBound();
		bound.platfrom = platfrom;
		bound.profileIndex = index;
		bound.profileIndexTestMode = index;
		platfromBounds.Add(bound);

	}