UnityEngine_AnimationStateWrap.get_clip C# (CSharp) Method

get_clip() private method

private get_clip ( IntPtr L ) : int
L IntPtr
return int
	static int get_clip(IntPtr L)
	{
		object o = null;

		try
		{
			o = ToLua.ToObject(L, 1);
			UnityEngine.AnimationState obj = (UnityEngine.AnimationState)o;
			UnityEngine.AnimationClip ret = obj.clip;
			ToLua.Push(L, ret);
			return 1;
		}
		catch(Exception e)
		{
			return LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index clip on a nil value" : e.Message);
		}
	}