最終更新:2015-09-22 (火) 02:04:29 (1836d)  

GameObject.GetComponent
Top / GameObject.GetComponent

  • public HingeJoint hinge;
    hinge = gameObject.GetComponent("HingeJoint") as HingeJoint;