public void MoveTo(NodeScript target) { Vector3 v_target; if (target == null || !NodeGraphicManager.NodeIsVisible(target)) { v_target = Random.onUnitSphere * 40; } else { v_target = NodeGraphicManager.GetGraphic(target).transform.position; } positionTween.StartTween(transform.position, v_target, GameManager.gameOptions.packetTravelTime); }
public void ScaleMemory(Vector3 target, float duration) { scaleTween.StartTween(memory.localScale, target, duration); }
public void MoveTo(Vector3 target, float duration) { positionTween.StartTween(transform.position, target, duration); }
public void Offset(Vector3 target, float duration) { offsetTween.StartTween(offset.localPosition, target, duration); }