Extracted from UnityEngineEx.