public ZAction AddAction(ZAction ta) { ZAction last = GetLastAction(); if (last != null) { last.AddAction(ta); } else { AddParalelAction(ta); } _lastAction = ta; return(ta); }