本文整理匯總了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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();
}