Black in Italian
Black in Italian
CC#
Created by Black in Italian on 4/9/2024 in #help
Error CS1502; Unity Mobile Developement
How do I fix this?
public class DLLocalizationManager : LocalizationManager
{
public DLLocalizationManager(IHttpClient httpClient, IAppInfo appInfo) : base(default(IHttpClient), default(IAppInfo), default(Localization), default(LocalizationManager.CsvMode), default(LocalizationManager.CsvLoadedDelegate))
{
}

}
public class DLLocalizationManager : LocalizationManager
{
public DLLocalizationManager(IHttpClient httpClient, IAppInfo appInfo) : base(default(IHttpClient), default(IAppInfo), default(Localization), default(LocalizationManager.CsvMode), default(LocalizationManager.CsvLoadedDelegate))
{
}

}
"has some invalid arguments" thanks Unity
58 replies
CC#
Created by Black in Italian on 4/8/2024 in #help
Unity MonoBehaviour and Photon Confusion
I don't know how to program, but I'm trying to get an old Unity mobile game to run that seems to have used aspects of Photon.
using UnityEngine;

namespace Photon
{
public class MonoBehaviour : MonoBehaviour
{
}
}
using UnityEngine;

namespace Photon
{
public class MonoBehaviour : MonoBehaviour
{
}
}
This seems to be where most of the errors are coming from, and it's effecting code like:
using Photon;
using UnityEngine;

public class ShowInfoOfPlayer : MonoBehaviour
{
public float CharacterSize;
public Font font;
public bool DisableOnOwnObjects;
}
using Photon;
using UnityEngine;

public class ShowInfoOfPlayer : MonoBehaviour
{
public float CharacterSize;
public Font font;
public bool DisableOnOwnObjects;
}
Everything is either a Circular Base Class Dependency issue or an Ambiguous Reference in the monobehaviours.
14 replies