public static RemoveSelf Create(float delayTime = 0.0f, bool isImmediate = false, bool allowDestroyingAssets = false)
        {
            RemoveSelf ret = new RemoveSelf();

            if (ret != null && ret.Init(delayTime, isImmediate, allowDestroyingAssets))
            {
                return(ret);
            }
            return(null);
        }
 public override Action Clone()
 {
     return(RemoveSelf.Create(delayTime, isImmediate, allowDestroyingAssets));
 }