protected void IsTutorialClueableObject_Enter(GameObject collObj) { ClueableObject clueableObj = GetComponent <ClueableObject>(); if (clueableObj) { PlayerViewRect pvr = collObj.GetComponent <PlayerViewRect>(); clueableObj.setClueArrowToMe(pvr.getClueArrow().transform); } }
protected void IsTutorialClueableObject_Exit(GameObject collObj) { ClueableObject clueableObj = GetComponent <ClueableObject>(); if (clueableObj) { GameObject clueArrow = clueableObj.getCurrentClueArrow(); PlayerViewRect pvr = collObj.GetComponent <PlayerViewRect>(); pvr.reclaimMyClueArrow(clueArrow); } }