예제 #1
0
 void ResetIfActive(RTCharacterStream c)
 {
     if (c.isActiveAndEnabled)
     {
         c.ResetSkeleton();
     }
 }
예제 #2
0
 void OnEnable()
 {
     c = (RTCharacterStream)target;
     cSerializedObject = new SerializedObject(target);
     boneRotation      = cSerializedObject.FindProperty("boneRotatation");
 }