Esempio n. 1
0
        public void Start()
        {
            if (!PlayMakerUnity2d.isAvailable())
            {
                Debug.LogError
                (
                    "PlayMakerUnity2DProxy requires the 'PlayMaker Unity 2D' Prefab in the Scene.\nUse the menu 'PlayMaker/Addons/Unity 2D/Components/Add PlayMakerUnity2D to Scene' to correct the situation",
                    this
                );
                enabled = false;
                return;
            }

            ModHooks.OnColliderCreate(gameObject);
            RefreshImplementation();
        }