コード例 #1
0
 public bool IsChild(FightSequence sequence, bool recursive = true)
 {
     return(m_children.Any(x => x == sequence) || (!recursive || m_children.Any(x => x.IsChild(sequence))));
 }
コード例 #2
0
 public void AddChildren(FightSequence sequence)
 {
     sequence.Parent = this;
     m_children.Add(sequence);
 }