MsgPack.TestSummaryReporter.CreateNewResult C# (CSharp) Method

CreateNewResult() private static method

Creates the new Result object.
private static CreateNewResult ( Result resultPrefab, GameObject resultVertical ) : Result
resultPrefab Result The prefab for test result indicators.
resultVertical UnityEngine.GameObject The vertical area which test result indicators to be belonging.
return Result
		private static Result CreateNewResult( Result resultPrefab, GameObject resultVertical )
		{
			var r = GameObject.Instantiate( resultPrefab );
			r.ForceInitialize();
			r.gameObject.transform.SetParent( resultVertical.transform, true );
			return r;
		}