public void OutlineWithBounds(Vector3 minBounds, Vector3 maxBounds) { enabled = true; if (minBounds != m_TargetMinBounds || maxBounds != m_TargetMaxBounds) { m_BoundsChangeGroup.Cancel(); m_BoundsChangeGroup = ActionMaster.Actions.Group(); m_BoundsChangeGroup.OutlinerMin(gameObject, minBounds, s_BoundsChangeDuration, new Ease(Ease.Quad.InOut)); m_BoundsChangeGroup.OutlinerMax(gameObject, maxBounds, s_BoundsChangeDuration, new Ease(Ease.Quad.InOut)); } m_TargetMinBounds = minBounds; m_TargetMaxBounds = maxBounds; }