コード例 #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);
 }