UnityEngine.ParticleSystem.IsAlive C# (CSharp) Méthode

IsAlive() public méthode

public IsAlive ( bool withChildren ) : bool
withChildren bool
Résultat bool
		public bool IsAlive(bool withChildren){}
		public void Emit(int count){}

Same methods

ParticleSystem::IsAlive ( ) : bool
ParticleSystem::IsAlive ( [ withChildren ) : bool

Usage Example

    static int IsAlive(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 1)
            {
                UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystem));
                bool o = obj.IsAlive();
                LuaDLL.lua_pushboolean(L, o);
                return(1);
            }
            else if (count == 2)
            {
                UnityEngine.ParticleSystem obj = (UnityEngine.ParticleSystem)ToLua.CheckObject(L, 1, typeof(UnityEngine.ParticleSystem));
                bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
                bool o    = obj.IsAlive(arg0);
                LuaDLL.lua_pushboolean(L, o);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to method: UnityEngine.ParticleSystem.IsAlive"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }
All Usage Examples Of UnityEngine.ParticleSystem::IsAlive