Exemple #1
0
    // Start is called before the first frame update
    void Start()
    {
        Character player       = new Character();
        Orc       orcWhiteHand = new Orc(12);
        Orc       orcBlackHand = new Orc(50, true);

        orcWhiteHand.InitializeOrc();

        Debug.Log(player.hp);
        Debug.Log(orcWhiteHand.hp);
        Debug.Log(orcBlackHand.hp);
    }