// Copyright (c) 2015 - 2023 Doozy Entertainment. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
usingDoozy.Runtime.Common.Extensions;
usingUnityEngine;
// ReSharper disable MemberCanBePrivate.Global
namespaceDoozy.Runtime.Common.Utils
{
publicstaticclassGameObjectUtils
{
/// <summary> Adds a new GameObject with the attached MonoBehavior of type T </summary>
/// <param name="isSingleton"> If TRUE, it will check if there isn't another GameObject with the MonoBehavior attached. If there is, it will select it (Editor only)</param>
/// <param name="selectGameObjectAfterCreation"> If TRUE, after creating a new GameObject, it will get automatically selected (Editor only)</param>
/// <summary> Adds a new GameObject with the attached MonoBehavior of type T </summary>
/// <param name="gameObjectName"> The name of the newly created GameObject </param>
/// <param name="isSingleton"> If TRUE, it will check if there isn't another GameObject with the MonoBehavior attached. If there is, it will select it (Editor only)</param>
/// <param name="selectGameObjectAfterCreation"> If TRUE, after creating a new GameObject, it will get automatically selected (Editor only)</param>