Exemple #1
0
 void Start()
 {
     if (OriginalPosition == null)
     {
         OriginalPosition = this.transform;
     }
     intiPos = transform.position;
     originalCameraRotation = transform.rotation;
     m_CharacterTargetRot   = this.transform.localRotation;
     if (myHandsAnimator != null)
     {
         myHandsAnimator = GetComponentInChildren <Animator>();
     }
     if (myHandsAnimator != null)
     {
         myHandsAnimator.SetBool("WorkSheetHandIdle", true);
     }
     if (teacherHands != null)
     {
         teacherHands.SetActive(false);
     }
     if (WorksheetHoldingHandAttachementPoint != null)
     {
         WorksheetHoldingHandAttachementPoint.SetActive(false);
     }
     if (WorksheetGivingHandAttachementPoint != null)
     {
         WorksheetGivingHandAttachementPoint.SetActive(false);
     }
 }
Exemple #2
0
 public void ShowHoldingHandWorkSheets(bool val)
 {
     if (teacherHands != null)
     {
         teacherHands.SetActive(true);
     }
     if (WorksheetHoldingHandAttachementPoint != null)
     {
         WorksheetHoldingHandAttachementPoint.SetActive(val);
     }
 }