ポイント(位置)に対して引力/反発する力を適用します。
ソースの Collider2D がトリガーされると、ターゲットの Collider2D と重なるたびにエフェクターの力が適用されます。ソースの Collider がトリガーされておらず、ターゲットの Collider2D がソースと接触しているときのみエフェクターは力を適用します。
このエフェクターは、ターゲット側の Collider2D が定義された領域をオーバーラップすることができ、トリガーとして設定されているソース側の Collider2D で動作するように設計されています。
| angularDrag | リジッドボディに適用する Angular Drag |
| distanceScale | スケールはソース側とターゲット側の間の距離を計算したものに適用されます |
| drag | リジッドボディに適用する Linear Drag の値 |
| forceMagnitude | 適用する力の大きさ |
| forceMode | エフェクターの力を適用するために使用されるモード |
| forceSource | エフェクターの中心点(Centroid Point)を計算するために使用されるソース。ターゲットからの距離は、この中心点から定められます |
| forceTarget | エフェクターがあらゆる力を適用する場所 |
| forceVariation | 適用される力の大きさの範囲 |
| enabled | 有効であれば更新され、無効であれば更新されません。 |
| isActiveAndEnabled | Reports whether a GameObject and its associated Behaviour is active and enabled. |
| gameObject | このコンポーネントはゲームオブジェクトにアタッチされます。コンポーネントはいつもゲームオブジェクトにアタッチされています。 |
| tag | ゲームオブジェクトのタグ |
| transform | The Transform attached to this GameObject. |
| colliderMask | マスクはエフェクターを作用させるレイヤーを指定するのに使用します。 |
| useColliderMask | コライダーマスクやグローバル衝突マトリクスを適用させるか |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | オブジェクト名 |
| BroadcastMessage | ゲームオブジェクトまたは子オブジェクトにあるすべての MonoBehaviour を継承したクラスにある methodName 名のメソッドを呼び出します。 |
| CompareTag | Checks the GameObject's tag against the defined tag. |
| GetComponent | Gets a reference to a component of type T on the same GameObject as the component specified. |
| GetComponentInChildren | Gets a reference to a component of type T on the same GameObject as the component specified, or any child of the GameObject. |
| GetComponentInParent | Gets a reference to a component of type T on the same GameObject as the component specified, or any parent of the GameObject. |
| GetComponents | Gets references to all components of type T on the same GameObject as the component specified. |
| GetComponentsInChildren | Gets references to all components of type T on the same GameObject as the component specified, and any child of the GameObject. |
| GetComponentsInParent | Gets references to all components of type T on the same GameObject as the component specified, and any parent of the GameObject. |
| SendMessage | ゲームオブジェクトにアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
| SendMessageUpwards | ゲームオブジェクトと親(の親、さらに親 ... )にアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
| TryGetComponent | Gets the component of the specified type, if it exists. |
| GetInstanceID | Gets the instance ID of the object. |
| ToString | Returns the name of the object. |
| Destroy | Removes a GameObject, component or asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindAnyObjectByType | Retrieves any active loaded object of Type type. |
| FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
| FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
| FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
| FindObjectsOfType | Gets a list of all loaded objects of Type type. |
| Instantiate | original のオブジェクトをクローンします |
| bool | オブジェクトが存在するかどうか |
| operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
| operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |