コード例 #1
0
    public void AttachCardTo(GameObject gameObjectToAttachTo)
    {
        CardBehavior behaviorComponent = GetBehaviorComponent(gameObjectToAttachTo);

        behaviorComponent.SetConfig(this);
        behavior = behaviorComponent;
    }