protected override IEnumerator SetUp()
        {
            yield return(base.SetUp());

            bodyShapeController = Substitute.For <IBodyShapeController>();
            bodyShapeController.bodyShapeId.Returns(WearableLiterals.BodyShapes.FEMALE);

            catalog = AvatarTestHelpers.CreateTestCatalogLocal();
        }
Esempio n. 2
0
    public void Load(IBodyShapeController loadedBody, Color color)
    {
        this.color = color;

        if (isReady)
        {
            PrepareWearable();
            return;
        }

        this.bodyShape = loadedBody;
        CoroutineStarter.Start(FetchTextures());
    }