private ResultsAvatar CreatePlayerSkeleton(float offsetFromCenter) { ResultsAvatar avatar = new ResultsAvatar(); avatar.OffsetFromCenter = offsetFromCenter; avatar.CreateBonesFromDataManager(Definitions.Avatar_Skeleton_Front); _registerObject(avatar); return(avatar); }
public void InitializeComponents() { _avatar = new ResultsAvatar(); _avatar.CreateBonesFromDataManager(Definitions.Avatar_Skeleton_Front); _registerObject(_avatar); _outcomePopup = new ResultsPopup(); _registerObject(_outcomePopup); _glowBurst = new Effects.GlowBurst(3, 1.0f, 0.1f); _glowBurst.RenderDepth = 0.095f; }