コード例 #1
0
    public static void SetupOrc()
    {
        RaceSelector rc = GameObject.FindObjectOfType <RaceSelector>();

        rc.SetArms(Race.Orc);
        rc.SetBody(Race.Orc);
        rc.SetLegs(Race.Orc, 1.0f);
    }
コード例 #2
0
    public static void SetupSlime()
    {
        RaceSelector rc = GameObject.FindObjectOfType <RaceSelector>();

        rc.SetArms(Race.Slime);
        rc.SetBody(Race.Slime);
        rc.SetLegs(Race.Slime, 1.0f);
    }
コード例 #3
0
    public static void SetupHuman()
    {
        RaceSelector rc = GameObject.FindObjectOfType <RaceSelector>();

        rc.SetArms(Race.Human);
        rc.SetBody(Race.Human);
        rc.SetLegs(Race.Human, 1.0f);
    }