Example #1
0
    // Use this for initialization
    void Start()
    {
        _pose_manager = GameObject.FindGameObjectWithTag("Posemanager").GetComponent <PoseManager>();
        _pose_eiffelt = GameObject.Find("Pose_Eiffelt").GetComponent <Pose_eiffelt>();

        _Chance = GameObject.Find("Chance").GetComponent <Image>();
        r       = _Chance.GetComponent <Image>().color.r;
        g       = _Chance.GetComponent <Image>().color.g;
        b       = _Chance.GetComponent <Image>().color.b;
        alpha   = _Chance.GetComponent <Image>().color.a;

        _rShoulder = GameObject.Find("Player_RightHand1");
        _lCrotch   = GameObject.Find("Player_LeftLeg1");
    }
 // Use this for initialization
 void Start()
 {
     _posemanager = GameObject.FindGameObjectWithTag("Posemanager").GetComponent <PoseManager>();
     _Eiffelt     = GameObject.Find("Pose_Eiffelt").GetComponent <Image>();
     _eiffelt     = GameObject.Find("Pose_Eiffelt").GetComponent <Pose_eiffelt>();
 }