protected override IEnumerator SetUp() { yield return(base.SetUp()); bodyShapeController = Substitute.For <IBodyShapeController>(); bodyShapeController.bodyShapeId.Returns(WearableLiterals.BodyShapes.FEMALE); catalog = AvatarTestHelpers.CreateTestCatalogLocal(); }
public void Load(IBodyShapeController loadedBody, Color color) { this.color = color; if (isReady) { PrepareWearable(); return; } this.bodyShape = loadedBody; CoroutineStarter.Start(FetchTextures()); }