コード例 #1
0
    public void Setup(GameplayCards gp, Config c)
    {
        Conf          = c;
        gameplayCards = gp;

        TimeoutCurrent = 0f;
        HealthCurrent  = c.HealthMax;
        UseCurrent     = 0;

        transform.SetParent(gp.Deck.transform);
    }
コード例 #2
0
 void Awake()
 {
     gpCards = GetComponent <GameplayCards>();
 }