public UnopenedPack()
    {
        DragRotatorInfo     info  = new DragRotatorInfo();
        DragRotatorAxisInfo info2 = new DragRotatorAxisInfo {
            m_ForceMultiplier = 3f,
            m_MinDegrees      = -55f,
            m_MaxDegrees      = 55f,
            m_RestSeconds     = 2f
        };

        info.m_PitchInfo = info2;
        info2            = new DragRotatorAxisInfo {
            m_ForceMultiplier = 4.5f,
            m_MinDegrees      = -60f,
            m_MaxDegrees      = 60f,
            m_RestSeconds     = 2f
        };
        info.m_RollInfo        = info2;
        this.m_DragRotatorInfo = info;
        NetCache.BoosterStack stack = new NetCache.BoosterStack {
            Id    = 0,
            Count = 0
        };
        this.m_boosterStack = stack;
    }
示例#2
0
    public CollectionDraggableCardVisual()
    {
        DragRotatorInfo     info  = new DragRotatorInfo();
        DragRotatorAxisInfo info2 = new DragRotatorAxisInfo {
            m_ForceMultiplier = 3f,
            m_MinDegrees      = -55f,
            m_MaxDegrees      = 55f,
            m_RestSeconds     = 2f
        };

        info.m_PitchInfo = info2;
        info2            = new DragRotatorAxisInfo {
            m_ForceMultiplier = 4.5f,
            m_MinDegrees      = -60f,
            m_MaxDegrees      = 60f,
            m_RestSeconds     = 2f
        };
        info.m_RollInfo            = info2;
        this.m_CardDragRotatorInfo = info;
        this.m_actorCache          = new HandActorCache();
    }
 public void SetInfo(DragRotatorInfo info)
 {
     this.m_info = info;
 }