本文整理汇总了C#中CocosSharp.CCSequence.Reverse方法的典型用法代码示例。如果您正苦于以下问题:C# CCSequence.Reverse方法的具体用法?C# CCSequence.Reverse怎么用?C# CCSequence.Reverse使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CocosSharp.CCSequence
的用法示例。
在下文中一共展示了CCSequence.Reverse方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ActionReverseSequence2
public ActionReverseSequence2()
{
var move1 = new CCMoveBy (1, new CCPoint(250, 0));
var move2 = new CCMoveBy (1, new CCPoint(0, 50));
var toggle = new CCToggleVisibility();
var seq = new CCSequence(move1, toggle, move2, toggle, move1.Reverse());
action = new CCRepeat ((new CCSequence(seq, seq.Reverse())), 3);
var move_tamara = new CCMoveBy (1, new CCPoint(100, 0));
var move_tamara2 = new CCMoveBy (1, new CCPoint(50, 0));
var hide = new CCHide();
seq_tamara = new CCSequence(move_tamara, hide, move_tamara2);
seq_back = seq_tamara.Reverse();
}
示例2: ActionReverseSequence
public ActionReverseSequence()
{
var move1 = new CCMoveBy (1, new CCPoint(250, 0));
var move2 = new CCMoveBy (1, new CCPoint(0, 50));
var seq = new CCSequence(move1, move2, move1.Reverse());
action = new CCSequence(seq, seq.Reverse());
}