Exemple #1
0
    protected void IsTutorialClueableObject_Enter(GameObject collObj)
    {
        ClueableObject clueableObj = GetComponent <ClueableObject>();

        if (clueableObj)
        {
            PlayerViewRect pvr = collObj.GetComponent <PlayerViewRect>();
            clueableObj.setClueArrowToMe(pvr.getClueArrow().transform);
        }
    }
Exemple #2
0
    protected void IsTutorialClueableObject_Exit(GameObject collObj)
    {
        ClueableObject clueableObj = GetComponent <ClueableObject>();

        if (clueableObj)
        {
            GameObject     clueArrow = clueableObj.getCurrentClueArrow();
            PlayerViewRect pvr       = collObj.GetComponent <PlayerViewRect>();
            pvr.reclaimMyClueArrow(clueArrow);
        }
    }