Beispiel #1
0
    protected override void implementation_debugDraw(XDebug.DebugDrawSettings inDrawSettings)
    {
        var       theBoxCollider = gameObject.GetComponent <BoxCollider2D>();
        Transform theTransform   = gameObject.transform;

        XDebug.drawRectangle(
            theTransform.position, theBoxCollider.size, theTransform.rotation.eulerAngles.z,
            inDrawSettings
            );
    }