Beispiel #1
0
    private void Start()
    {
        myCachedTransform = this.transform;

        if (photonView.isMine)
        {
            allSkillRange = GameObject.Find("AllSkillRange_G").GetComponent <Projector>();
            SkillIconManager.SetSkillIcon(mySkillIcon);
        }
        else
        {
            allSkillRange = GameObject.Find("AllSkillRange_R").GetComponent <Projector>();
        }
    }
Beispiel #2
0
 private void Start()
 {
     if (photonView.isMine)
     {
         allSkillRange = GameObject.Find("AllSkillRange_G").GetComponent <Projector>();
         SkillIconManager.SetSkillIcon(mySkillIcon);
     }
     else
     {
         checkEnemyBox[0] = new Vector3(3.1f, 1.5f, 4f);
         checkEnemyBox[1] = new Vector3(12, 1, 9.5f);
         allSkillRange    = GameObject.Find("AllSkillRange_R").GetComponent <Projector>();
         skillQ_CT        = Timer.NextFrame(SetQ_CT);
     }
 }