Ejemplo n.º 1
0
 private void OnColliderCreate()
 {
     if (PlayMakerUnity2d.isAvailable())
     {
         TasInfo.OnColliderCreate(gameObject);
     }
 }
 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.Instance.OnColliderCreate(gameObject);
     RefreshImplementation();
 }
    public void Start()
    {
        if (!PlayMakerUnity2d.isAvailable())
        {
            Debug.LogError("PlayMakerUnity2DProxy requires the 'PlayMaker Unity 2D' Prefab in the Scene.\n" +
                           "Use the menu 'PlayMaker/Addons/Unity 2D/Components/Add PlayMakerUnity2D to Scene' to correct the situation", this);
            this.enabled = false;
            return;
        }

        RefreshImplementation();
    }