예제 #1
0
 public void MoveSphape(Vector3 position, Vector3 scale, float radius)
 {
     _position   = position;
     _localScale = scale;
     _radius     = radius;
     _realRadius = radius * LocalScale.Maximum();
 }
예제 #2
0
 public void MoveSphape(Vector3 position, Quaternion rotation, Vector3 scale)
 {
     _position   = position;
     _rotation   = rotation;
     _localScale = scale;
     _realRadius = _radius * LocalScale.Maximum();
     _circle.MoveSphape(_position, _rotation * Vector3.up, _realRadius);
 }