2018-05-06 【Unity】PhysicsMaterial2D のパラメータをスクリプトから編集する方法 Unity 編集例 var mat = go.GetComponent<Rigidbody2D>().sharedMaterial; mat.bounciness = 0.9f; mat.friction = 0.9f; もっと読む コメントを書く