本文整理汇总了C#中PlayerControl.GetNurseFeet方法的典型用法代码示例。如果您正苦于以下问题:C# PlayerControl.GetNurseFeet方法的具体用法?C# PlayerControl.GetNurseFeet怎么用?C# PlayerControl.GetNurseFeet使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PlayerControl
的用法示例。
在下文中一共展示了PlayerControl.GetNurseFeet方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Mounted
public void Mounted(Transform col)
{
print ("mounted");
if(damselStatus){
damselStatus = false;
status = NStatus.IDLE;
playerCtrl = col.GetComponent<PlayerControl>();
anim.Play("Nurse_Idle");
//GetComponent<PolygonCollider2D>().enabled = true;
GetComponent<Rigidbody2D>().isKinematic = false;
gameObject.layer = LayerMask.NameToLayer("Nurse");
var t = transform.position;
t.z = 0;
transform.position = t;
playerCtrl.GetNurseFeet(transform.Find ("nurse_body").Find ("nurse_booty").Find ("bob_footL"),transform.Find ("nurse_body").Find ("bob_footR"));
}
gameObject.tag = "Nurse";
GetComponent<Rigidbody2D>().mass = 1;
AudioSource.PlayClipAtPoint(saddleSFX[0],transform.position);
transform.Find ("saddleTrigger").gameObject.layer = LayerMask.NameToLayer("TransparentFX");
rb2D = col.GetComponent<Rigidbody2D>();
}