private void CreateFavoriteColor(SerializableColor serializableColor) { GameObject gameObject = Instantiate(_prefabs.wUIColorMenuFavorite.gameObject, _components.favoritesContainer, false); WUIColorMenuFavorite wUIColorMenuFavorite = gameObject.GetComponent <WUIColorMenuFavorite>(); gameObject.transform.SetAsLastSibling(); wUIColorMenuFavorite.Populate(serializableColor); }
internal void Inspect(WUIColorMenuFavorite wUIColorMenuFavorite) { Stack(); _components.wUIColorMenuFavorite = wUIColorMenuFavorite; }