Entitas icon indicating copy to clipboard operation
Entitas copied to clipboard

Visual Debugging doesn't work

Open atkdefender opened this issue 3 years ago • 1 comments

Open project Match-One, Add any MonoBehaviour, write "Contexts contexts = Contexts.sharedInstance;", Play the game, Then Entitas's debug contexts hided. Like this

public partial class Contexts : Entitas.IContexts {

    public static Contexts sharedInstance {
        get {
            if (_sharedInstance == null) {
                _sharedInstance = new Contexts();
            }

            return _sharedInstance;
        }
        set { _sharedInstance = value; }
    }

    static Contexts _sharedInstance;

Contexts contexts = Contexts.sharedInstance; //This line should only get the Contexts‘ singleton. Why a "get" matter? I have no idea.

atkdefender avatar Dec 13 '20 03:12 atkdefender

related #999

sschmid avatar Sep 07 '22 09:09 sschmid