static private GetMainGameView ( ) : |
||
Результат |
internal static GameView GetMainGameView()
{
if (((s_LastFocusedGameView == null) && (s_GameViews != null)) && (s_GameViews.Count > 0))
{
s_LastFocusedGameView = s_GameViews[0];
}
return s_LastFocusedGameView;
}
internal static Rect GetMainGameViewRenderRect() { GameView mainGameView = GameView.GetMainGameView(); if (mainGameView != null) { GameView.s_MainGameViewRect = mainGameView.GetConstrainedGameViewRenderRect(); } return(GameView.s_MainGameViewRect); }