當前位置: 首頁>>代碼示例>>C#>>正文


C# Card.Stand方法代碼示例

本文整理匯總了C#中Card.Stand方法的典型用法代碼示例。如果您正苦於以下問題:C# Card.Stand方法的具體用法?C# Card.Stand怎麽用?C# Card.Stand使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Card的用法示例。


在下文中一共展示了Card.Stand方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: StandUnit

 public void StandUnit(Card card)
 {
     card.bBecomeStandThisTurn = true;
     card.Stand();
     Game.SendPacket(GameAction.STAND_UNIT, card.pos);
     card.CheckAbilities(CardState.Stand, card);
     Game.field.CheckAbilitiesExcept(card.pos, CardState.Stand_NotMe, card);
 }
開發者ID:Javierudec,項目名稱:VGOnline_Scripts,代碼行數:8,代碼來源:UnitObject.cs

示例2: SoulChargeFromDrop

 public void SoulChargeFromDrop(Card card)
 {
     card.Stand();
     Game.field.MoveToSoul(card);
     Game.field.RemoveFromDropzone(card);
     Game.field.FixSoulPosition();
     Game.SendPacket(GameAction.FROM_DROP_TO_SOUL, card.cardID);
 }
開發者ID:Javierudec,項目名稱:VGOnline_Scripts,代碼行數:8,代碼來源:UnitObject.cs

示例3: AddToDropZone

    public void AddToDropZone(Card card)
    {
        LastCardSentToDrop = card;
        card._Coord = CardCoord.DROP;
        card.NormalizeMaterial();
        DropZone.Add(card);
        card.TurnUp();
        card.Stand();

        card.MoveAndRotate(fieldInfo.GetPosition((int)fieldPositions.DROP_ZONE) + new Vector3(0.0f, 0.01f * (DropZone.Count - 1), 0.0f),
                           new Vector3(0.0f, 180.0f, 0.0f));

        //card.GetGameObject().transform.position = fieldInfo.GetPosition((int)fieldPositions.DROP_ZONE) + new Vector3(0.0f, 0.01f * (DropZone.Count - 1), 0.0f);
        //card.GetGameObject().transform.eulerAngles = new Vector3(0.0f, 180.0f, 0.0f);
    }
開發者ID:Javierudec,項目名稱:VGOnline_Scripts,代碼行數:15,代碼來源:Field.cs

示例4: MoveToSoul

 public void MoveToSoul(Card card)
 {
     card.Stand();
     Game.field.MoveToSoul(card.pos);
     Game.field.RemoveFrom(card.pos);
     Game.field.FixSoulPosition();
     Game.SendPacket(GameAction.FROM_FIELD_TO_SOUL, card.pos);
 }
開發者ID:Javierudec,項目名稱:VGOnline_Scripts,代碼行數:8,代碼來源:UnitObject.cs

示例5: ResetCard

 public void ResetCard(Card card)
 {
     //Reseting current status.
     card.Stand();
     card.unitAbilities.UnsetBool(1);
     card.unitAbilities.UnsetBool(2);
     card.unitAbilities.UnsetBool(3);
     card.unitAbilities.UnsetBool(4);
     card.ResetEndTurnEffects();
     card.ResetPower();
 }
開發者ID:Javierudec,項目名稱:VGOnline_Scripts,代碼行數:11,代碼來源:Field.cs


注:本文中的Card.Stand方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。