blob: 54c244471280a638a56ec63b35bfb2a8441915e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
using System;
using System.Collections.Generic;
namespace UnityEngineInternal
{
// This is a solution to problem where we cannot use:
// * System.Collections.Stack on WP8 and Metro, because it was stripped from .NET
// * System.Collections.Generic.Stack cannot use on iOS because it creates a dependency to System.dll thus increasing overall executable size
#if UNITY_WINRT
public class GenericStack : Stack<Object>
{
}
#else
public class GenericStack : System.Collections.Stack
{
}
#endif
}
|