public float CreateOrbitAspect(string sigilName, Vector3 orbitPosition, Material mat) { SealComponent component = CreateComponent(sigilName + "_OrbitAspect_" + mat.name, mat); component.transform.localScale = Vector3.one / (1.68f * OrbitingScaleFactor); component.Spin(SealComponent.SpinDirection.EITHER, 0.1f, 1f); float orbitDegrees = component.Orbit(orbitPosition, Vector3.zero, SealComponent.SpinDirection.EITHER, 0.1f, 1f); return(orbitDegrees); }
public void Focus() { if (focused) { return; } focused = true; SealComponent component = CreateComponent("Focus", AspectResources.GetComponentMaterial(Aspect.Circle_Runes)); component.Spin(SealComponent.SpinDirection.EITHER, 0.1f, 1f); }
public void CreateCenterAspect(Material mat) { SealComponent component = CreateComponent("CenterAspect_" + mat.name, mat); component.Spin(SealComponent.SpinDirection.EITHER, 0.1f, 1f); }